diff --git a/api/src/Preferences.php b/api/src/Preferences.php index 2267e0705e..7dfaac0447 100644 --- a/api/src/Preferences.php +++ b/api/src/Preferences.php @@ -991,7 +991,8 @@ class Preferences 'C', ) as $local) { - if (($ret = setlocale($category,$local.'@'.$charset)) || + if (($ret = setlocale($category,$local.'.'.$charset)) || + ($ret = setlocale($category,$local.'@'.$charset)) || ($ret = setlocale($category,$local))) { //error_log(__METHOD__."($category,$charset) lang=$lang, country=$country, country_from_lang=$country_from_lang: returning '$ret'");