Home
last modified time | relevance | path

Searched refs:language (Results 1 – 25 of 117) sorted by relevance

12345

/webtrees/app/Module/
H A DAbstractIndividualListModule.php121 $surname = I18N::strtoupper(I18N::language()->normalize($surname_param));
167 $alpha = I18N::language()->initialLetter($surname);
328 … $filter = static fn (string $x): bool => I18N::language()->initialLetter($x) === $alpha;
425 … static fn (string $x): bool => I18N::language()->initialLetter($x) === $alpha,
528 foreach (I18N::language()->alphabet() as $initial) {
547 …$initial = I18N::language()->initialLetter(I18N::language()->normalize(I18N::strtoupper($row->n_gi…
605 $normalized = I18N::strtoupper(I18N::language()->normalize($row->n_surn));
628 $n_surn = I18N::strtoupper(I18N::language()->normalize($n_surn));
651 foreach (I18N::language()->alphabet() as $initial) {
656 …$initial = I18N::language()->initialLetter(I18N::language()->normalize(I18N::strtoupper($row->n_su…
[all …]
H A DModuleCustomInterface.php65 * @param string $language
69 public function customTranslations(string $language): array; argument
H A DFrequentlyAskedQuestionsModule.php429 * @param string $language
433 private function faqsExist(Tree $tree, string $language): bool argument
446 …->filter(static fn (object $faq): bool => $faq->languages === '' || in_array($language, explode(',…
H A DModuleCustomTrait.php134 * @param string $language
138 public function customTranslations(string $language): array argument
H A DCkeditorModule.php72 'language' => I18N::locale()->language()->code(),
H A DModuleMapGeoLocationTrait.php94 'accept-language' => I18N::languageTag(),
/webtrees/app/Http/RequestHandlers/
H A DSelectLanguage.php47 $language = $request->getAttribute('language');
48 assert(is_string($language));
50 Session::put('language', $language);
51 $user->setPreference(UserInterface::PREF_LANGUAGE, $language);
H A DAccountUpdate.php67 $language = Validator::parsedBody($request)->string('language');
99 $user->setPreference(UserInterface::PREF_LANGUAGE, $language);
109 Session::put('language', $language);
H A DSitePreferencesAction.php49 $language = Validator::parsedBody($request)->string('LANGUAGE');
68 Site::setPreference('LANGUAGE', $language);
H A DUserListData.php133 $languages->get($row->language, $row->language),
H A DUserEditAction.php79 $language = Validator::parsedBody($request)->string('language');
114 $edit_user->setPreference(UserInterface::PREF_LANGUAGE, $language);
/webtrees/app/
H A DI18N.php206 private static ModuleLanguageInterface $language; variable in Fisharebest\\Webtrees\\I18N
302 self::$language = $module_service
367 public static function language(): ModuleLanguageInterface function in Fisharebest\\Webtrees\\I18N
369 return self::$language;
567 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
583 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
/webtrees/app/Http/Middleware/
H A DUseLanguage.php61 foreach ($this->languages($request) as $language) {
62 if ($language instanceof ModuleLanguageInterface) {
63 I18N::init($language->locale()->languageTag());
64 Session::put('language', $language->locale()->languageTag());
/webtrees/app/Schema/
H A DMigration43.php32 $language = DB::table('gedcom_setting')
41 'setting_value' => $language ?? 'en-US',
/webtrees/resources/views/statistics/other/charts/
H A Dcolumn.phtml35 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
39 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
H A Dcombo.phtml34 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
38 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
H A Dpie.phtml45 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
49 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
H A Dgeo.phtml55 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
59 statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
H A Dcustom.phtml25 …ata' => $data, 'chart_options' => $chart_options, 'chart_title' => '', 'language' => $language]) ?>
/webtrees/tests/feature/
H A DRelationshipNamesTest.php382 …unction assertRelationship(string $expected, array $nodes, ModuleLanguageInterface $language): void argument
385 $actual = $service->nameFromPath($nodes, $language);
388 … $message = 'Language: ' . $language->title() . PHP_EOL . 'Path: ' . $path . ' (' . $english . ')';
398 …ssertRelationships(string $fwd, string $rev, array $nodes, ModuleLanguageInterface $language): void argument
400 self::assertRelationship($fwd, $nodes, $language);
401 self::assertRelationship($rev, array_reverse($nodes), $language);
/webtrees/app/Services/
H A DRelationshipService.php78 $language = Registry::container()->get(ModuleService::class)
80 …->first(fn (ModuleLanguageInterface $language): bool => $language->locale()->languageTag() === I18…
89 return $this->nameFromPath($path, $language);
197 * @param ModuleLanguageInterface $language
201 public function nameFromPath(array $nodes, ModuleLanguageInterface $language): string argument
209 $relationships = $language->relationships();
/webtrees/app/Cli/Commands/
H A DUserCreate.php65 $language = $input->getOption(name: 'language');
116 $user->setPreference(setting_name: UserInterface::PREF_LANGUAGE, setting_value: $language);
/webtrees/resources/views/modules/ckeditor/
H A Dckeditor-js.phtml26 CKEDITOR.config.language = <?= json_encode(strtolower($language), JSON_THROW_ON_ERROR) ?>;
/webtrees/app/Elements/
H A DDateValue.php59 $dmy = I18N::language()->dateOrder();
/webtrees/modules_v4/
H A DREADME.md26 To write a module, you need to understand the PHP programming language.

12345