forked from extern/egroupware
Fix setlocale to be able to find locales on Ubuntu
This commit is contained in:
parent
92584a61ad
commit
5750904809
@ -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'");
|
||||
|
Loading…
Reference in New Issue
Block a user