From de2c5350a916dfaa6e3e1e11939e47345f5579f8 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());