mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
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',
|
'C',
|
||||||
) as $local)
|
) as $local)
|
||||||
{
|
{
|
||||||
if (($ret = setlocale($category,$local.'@'.$charset)) ||
|
if (($ret = setlocale($category,$local.'.'.$charset)) ||
|
||||||
|
($ret = setlocale($category,$local.'@'.$charset)) ||
|
||||||
($ret = setlocale($category,$local)))
|
($ret = setlocale($category,$local)))
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__."($category,$charset) lang=$lang, country=$country, country_from_lang=$country_from_lang: returning '$ret'");
|
//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