LANGUAGE variable can contain default language information.
It will be used when the mo files for the selected language is not
available.
Change-Id: I9ab112666b8da2c90460a3985879aab364df3e70
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
void _update_lang(void)
{
+ char language[32];
char *r;
char *lang = vconf_get_str(VCONFKEY_LANGSET);
if (lang) {
+ snprintf(language, sizeof(language), "%s:en_US:en_GB:en", lang);
+ setenv("LANGUAGE", language, 1);
setenv("LANG", lang, 1);
setenv("LC_MESSAGES", lang, 1);