getShortName(); } function RFC1766() { return i18n::convert_rfc1766($this->value); } /** * Resolves the locale to a common english-language * name through {@link i18n::get_common_locales()}. * * @return String */ function getShortName() { $common_names = i18n::get_common_locales(); return (isset($common_names[$this->value])) ? $common_names[$this->value] : false; } function getLongName() { return i18n::get_locale_name($this->value); } } ?>