public static function get_by_name_short($name) {
		$db = Database::Get();
		$id = $db->get_one('SELECT id FROM language WHERE name_short=?', [$name]);

		if ($id === null) {
			throw new \Exception('No such language');
		}

		$language = self::get_by_id($id);
		return $language;
	}