Show proper default locale
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d59de22525
commit
c57f886b43
|
@ -227,7 +227,7 @@ class PersonalInfo implements ISettings {
|
|||
|
||||
$uid = $user->getUID();
|
||||
|
||||
$userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', 'en_US');
|
||||
$userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', $this->l10nFactory->findLocale());
|
||||
|
||||
$userLang = $this->config->getUserValue($uid, 'core', 'lang', $this->l10nFactory->findLanguage());
|
||||
|
||||
|
|
Loading…
Reference in New Issue