Merge pull request #13782 from nextcloud/backport/13772/stable14
[stable14] Show proper default locale
This commit is contained in:
commit
b0c1846794
|
@ -227,7 +227,7 @@ class PersonalInfo implements ISettings {
|
||||||
|
|
||||||
$uid = $user->getUID();
|
$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());
|
$userLang = $this->config->getUserValue($uid, 'core', 'lang', $this->l10nFactory->findLanguage());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue