mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Show proper default locale
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
78fadcb9b7
commit
de2c5350a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue