Fix translation not being found
This commit is contained in:
parent
91ff7c6eab
commit
5845436eb5
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class Page
|
||||||
scandir(ROOT . '/translations')
|
scandir(ROOT . '/translations')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$locale = \Locale::lookup($locales, $userLocale, true, 'en');
|
$locale = \Locale::lookup($locales, $userLocale, false, 'en');
|
||||||
|
|
||||||
$this->language = $locale;
|
$this->language = $locale;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue