Lines Matching refs:locale
73 $locale = $this->helper->getLangPart($id ?? '');
74 $_SESSION[DOKU_COOKIE]['translationlc'] = $locale; // IDs always reset the language
76 $locale = $INPUT->str('lang');
78 $locale = $_SESSION[DOKU_COOKIE]['translationlc'] ?? '';
82 $locale = $this->helper->getLangPart("$locale:foo");
85 if ($locale && $locale !== $conf['lang']) {
87 $event->data = $locale;
88 $conf['lang'] = $locale;
139 $locale = $this->helper->getLangPart($ID ?? '');
141 if ($locale && $locale !== $conf['lang']) {
142 if (file_exists(DOKU_INC . 'inc/lang/' . $locale . '/lang.php')) {
144 include(DOKU_INC . 'inc/lang/' . $locale . '/lang.php');
147 $event->data = '<div lang="' . hsc($locale) . '" dir="' . hsc($direction) . '">' .