Home
last modified time | relevance | path

Searched refs:languageTag (Results 1 – 25 of 64) sorted by relevance

123

/webtrees/resources/views/layouts/
H A Dadministration.phtml25 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
63languageTag() ?> <?= I18N::languageTag() === $locale->languageTag() ? ' active' : '' ?>" href="#" …
H A Dreport.phtml14 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Derror.phtml13 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Dsetup.phtml13 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Doffline.phtml16 <html dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
/webtrees/app/Http/Middleware/
H A DUseLanguage.php63 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 DI18N.php279 …$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 Dlanguage-checkboxes.phtml15 <label title="<?= e($locale->languageTag()) ?>">
16 …heckbox" name="languages[]" value="<?= e($locale->languageTag()) ?>" <?= in_array($locale->languag…
/webtrees/app/Statistics/Google/
H A DChartDistribution.php79 $current_language = I18N::languageTag();
82 I18N::init($locale->languageTag());
328 'language' => I18N::languageTag(),
/webtrees/resources/views/setup/
H A Dstep-1-language.phtml49 …<option value="<?= $locale->languageTag() ?>" <?= $lang === $locale->languageTag() ? 'selected' : …
/webtrees/resources/views/admin/
H A Dsite-preferences.phtml84 …option value="<?= $active_locale->languageTag() ?>" <?= Site::getPreference('LANGUAGE') === $activ…
H A Dmodules.phtml141 …e instanceof ModuleCustomInterface ? $module->customTranslations(I18N::languageTag())[$module->tit…
147 …e instanceof ModuleCustomInterface ? $module->customTranslations(I18N::languageTag())[$module->des…
/webtrees/app/Services/
H A DRelationshipService.php80 …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 DTreeService.php212 … $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 DUserEditPage.php90 return [$locale->languageTag() => $locale->endonym()];
113 'default_language' => I18N::languageTag(),
/webtrees/app/Statistics/Repository/
H A DPlaceRepository.php218 $old_language = I18N::languageTag();
221 I18N::init($locale->languageTag());
/webtrees/app/Module/
H A DStoriesModule.php128 … if ($languages === '' || in_array(I18N::languageTag(), explode(',', $languages), true)) {
405 …fn (object $story): bool => $story->languages === '' || in_array(I18N::languageTag(), explode(',',…
H A DFrequentlyAskedQuestionsModule.php98 if ($this->faqsExist($tree, I18N::languageTag())) {
386 …tic fn (object $faq): bool => $faq->languages === '' || in_array(I18N::languageTag(), explode(',',…
H A DModuleThemeTrait.php244 $language_tag = $active_locale->languageTag();
245 …$class = 'menu-language-' . $language_tag . (I18N::languageTag() === $language_tag ? ' acti…
/webtrees/resources/views/emails/
H A Dapprove-user-html.phtml16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Dpassword-request-html.phtml14 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Dnew-version-html.phtml16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Dmessage-copy-html.phtml16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Dregister-user-html.phtml15 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
H A Dpending-changes-html.phtml16 <div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">

123