From c57f886b436ba0cff1e0f75f29f71e21d0b69368 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 23 Jan 2019 23:17:44 +0100 Subject: [PATCH] Show proper default locale Signed-off-by: Morris Jobke --- lib/private/Settings/Personal/PersonalInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php index 8c1c8cb19b..98991ce6d4 100644 --- a/lib/private/Settings/Personal/PersonalInfo.php +++ b/lib/private/Settings/Personal/PersonalInfo.php @@ -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());