/webtrees/resources/views/layouts/ |
H A D | administration.phtml | 25 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>"> 63 …languageTag() ?> <?= I18N::languageTag() === $locale->languageTag() ? ' active' : '' ?>" href="#" …
|
H A D | report.phtml | 14 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | error.phtml | 13 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | setup.phtml | 13 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | offline.phtml | 16 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
/webtrees/app/Http/Middleware/ |
H A D | UseLanguage.php | 63 I18N::init($language->locale()->languageTag()); 64 Session::put('language', $language->locale()->languageTag()); 86 …tatic fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === Session::… 96 …leLanguageInterface $module): bool => $module->locale()->languageTag() === $locale->languageTag());
|
/webtrees/app/ |
H A D | I18N.php | 279 …$translation_file = __DIR__ . '/../resources/lang/' . self::$locale->languageTag() . '/messages.ph… 288 …$po_file = Webtrees::ROOT_DIR . 'resources/lang/' . self::$locale->languageTag() . '/messages… 300 … array => array_merge($carry, $item->customTranslations(self::$locale->languageTag())), $translati… 304 … ->first(fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === $code); 351 public static function languageTag(): string function in Fisharebest\\Webtrees\\I18N 353 return self::$locale->languageTag();
|
/webtrees/resources/views/edit/ |
H A D | language-checkboxes.phtml | 15 <label title="<?= e($locale->languageTag()) ?>"> 16 …heckbox" name="languages[]" value="<?= e($locale->languageTag()) ?>" <?= in_array($locale->languag…
|
/webtrees/app/Statistics/Google/ |
H A D | ChartDistribution.php | 79 $current_language = I18N::languageTag(); 82 I18N::init($locale->languageTag()); 328 'language' => I18N::languageTag(),
|
/webtrees/resources/views/setup/ |
H A D | step-1-language.phtml | 49 …<option value="<?= $locale->languageTag() ?>" <?= $lang === $locale->languageTag() ? 'selected' : …
|
/webtrees/resources/views/admin/ |
H A D | site-preferences.phtml | 84 …option value="<?= $active_locale->languageTag() ?>" <?= Site::getPreference('LANGUAGE') === $activ…
|
H A D | modules.phtml | 141 …e instanceof ModuleCustomInterface ? $module->customTranslations(I18N::languageTag())[$module->tit… 147 …e instanceof ModuleCustomInterface ? $module->customTranslations(I18N::languageTag())[$module->des…
|
/webtrees/app/Services/ |
H A D | RelationshipService.php | 80 …eLanguageInterface $language): bool => $language->locale()->languageTag() === I18N::languageTag()); 1433 switch (I18N::languageTag()) { 1667 switch (I18N::languageTag()) { 1885 switch (I18N::languageTag()) { 2042 switch (I18N::languageTag()) { 2114 switch (I18N::languageTag()) {
|
H A D | TreeService.php | 212 … $tree->setPreference('LANGUAGE', I18N::languageTag()); // Default to the current admin’s language 213 …Preference('SURNAME_TRADITION', self::DEFAULT_SURNAME_TRADITIONS[I18N::languageTag()] ?? 'paternal…
|
/webtrees/app/Http/RequestHandlers/ |
H A D | UserEditPage.php | 90 return [$locale->languageTag() => $locale->endonym()]; 113 'default_language' => I18N::languageTag(),
|
/webtrees/app/Statistics/Repository/ |
H A D | PlaceRepository.php | 218 $old_language = I18N::languageTag(); 221 I18N::init($locale->languageTag());
|
/webtrees/app/Module/ |
H A D | StoriesModule.php | 128 … if ($languages === '' || in_array(I18N::languageTag(), explode(',', $languages), true)) { 405 …fn (object $story): bool => $story->languages === '' || in_array(I18N::languageTag(), explode(',',…
|
H A D | FrequentlyAskedQuestionsModule.php | 98 if ($this->faqsExist($tree, I18N::languageTag())) { 386 …tic fn (object $faq): bool => $faq->languages === '' || in_array(I18N::languageTag(), explode(',',…
|
H A D | ModuleThemeTrait.php | 244 $language_tag = $active_locale->languageTag(); 245 …$class = 'menu-language-' . $language_tag . (I18N::languageTag() === $language_tag ? ' acti…
|
/webtrees/resources/views/emails/ |
H A D | approve-user-html.phtml | 16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | password-request-html.phtml | 14 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | new-version-html.phtml | 16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | message-copy-html.phtml | 16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | register-user-html.phtml | 15 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|
H A D | pending-changes-html.phtml | 16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
|