Home
last modified time | relevance | path

Searched refs:Languages (Results 1 – 16 of 16) sorted by relevance

/web-php/tests/Unit/I18n/
H A DLanguagesTest.php10 use phpweb\I18n\Languages; alias
20 self::assertSame($expected, (new Languages())->convert($languageCode));
48 array_diff(Languages::LANGUAGES, Languages::INACTIVE_ONLINE_LANGUAGES),
49 Languages::ACTIVE_ONLINE_LANGUAGES,
59 self::assertSame(Languages::LANGUAGES, $LANGUAGES);
60 self::assertSame(Languages::INACTIVE_ONLINE_LANGUAGES, $INACTIVE_ONLINE_LANGUAGES);
61 self::assertSame(Languages::ACTIVE_ONLINE_LANGUAGES, $ACTIVE_ONLINE_LANGUAGES);
/web-php/
H A Ddownload-docs.php3 use phpweb\I18n\Languages; alias
9 echo serialize(Languages::ACTIVE_ONLINE_LANGUAGES);
96 foreach (Languages::LANGUAGES as $langcode => $language) {
97 …if (isset(Languages::INACTIVE_ONLINE_LANGUAGES[$langcode]) && $MYSITE !== 'http://docs.php.net/') {
H A Ddocs.php3 use phpweb\I18n\Languages; alias
33 $lastlang = array_key_last(Languages::ACTIVE_ONLINE_LANGUAGES);
34 foreach (Languages::ACTIVE_ONLINE_LANGUAGES as $langcode => $langname) {
H A Dmirror.php3 use phpweb\I18n\Languages; alias
90 <li>Default language is <?php echo Languages::LANGUAGES[default_language()]; ?></li>
H A Derror.php12 use phpweb\I18n\Languages; alias
82 if (!isset(Languages::INACTIVE_ONLINE_LANGUAGES[$array[1]])) {
708 isset(Languages::INACTIVE_ONLINE_LANGUAGES[$match[1]])) {
711 error_inactive_manual_page(Languages::INACTIVE_ONLINE_LANGUAGES[$match[1]], $try);
H A Dmy.php3 use phpweb\I18n\Languages; alias
13 $langs = Languages::ACTIVE_ONLINE_LANGUAGES;
/web-php/manual/
H A Dhelp-translate.php3 use phpweb\I18n\Languages; alias
32 foreach (Languages::INACTIVE_ONLINE_LANGUAGES as $cc => $lang) {
/web-php/js/
H A Dsearch-index.php3 use phpweb\I18n\Languages; alias
14 if (!isset(Languages::ACTIVE_ONLINE_LANGUAGES[$_GET["lang"]])) {
/web-php/include/
H A Dlangchooser.inc31 use phpweb\I18n\Languages;
41 list($LANG, $EXPL_LANG) = (new LangChooser(Languages::LANGUAGES, Languages::INACTIVE_ONLINE_LANGUAG…
H A Dlanguages.inc4 * It must be kept in sync with {@see \phpweb\I18n\Languages}.
H A Dsite.inc3 use phpweb\I18n\Languages;
263 if (isset(Languages::LANGUAGES[$_SERVER['MIRROR_LANGUAGE']])) {
270 if (!isset(Languages::LANGUAGES[$MIRRORS[$MYSITE][6]])) {
H A Dshared-manual.inc25 use phpweb\I18n\Languages;
284 $base = 'manual/' . (new Languages())->convert($setup['head'][1]) . "/";
316 "languages" => array_keys(Languages::ACTIVE_ONLINE_LANGUAGES),
348 foreach (Languages::ACTIVE_ONLINE_LANGUAGES as $lang => $text) {
H A Dlayout.inc3 use phpweb\I18n\Languages;
467 $lang = (new Languages())->convert($config["lang"]);
H A Derrors.inc8 use phpweb\I18n\Languages;
53 foreach (Languages::ACTIVE_ONLINE_LANGUAGES as $alt_lang => $alt_lang_name) {
/web-php/src/I18n/
H A DLanguages.php9 final class Languages class
/web-php/.well-known/
H A Dsecurity.txt7 Preferred-Languages: en

Completed in 23 milliseconds