e i18n: When the user uses the system default localization, he may have different values set for each LC_ variable.
He may, for instance, want to have messages in English and dates in French. Let Enlightenment handle that by not setting everything to the LANG value. SVN revision: 72232
This commit is contained in:
parent
4c3d81f1ad
commit
ded0b195fa
|
@ -192,9 +192,13 @@ e_intl_language_set(const char *lang)
|
|||
/* Unset LANGUAGE, apparently causes issues if set */
|
||||
e_util_env_set("LANGUAGE", NULL);
|
||||
efreet_dirs_reset();
|
||||
setlocale(LC_ALL, lang);
|
||||
}
|
||||
else
|
||||
{
|
||||
setlocale(LC_ALL, "");
|
||||
}
|
||||
|
||||
setlocale(LC_ALL, lang);
|
||||
if (_e_intl_language)
|
||||
{
|
||||
char *locale_path;
|
||||
|
|
Loading…
Reference in New Issue