From: Hwankyu Jhun Date: Thu, 22 Jun 2017 07:12:52 +0000 (+0900) Subject: Fix language fallback X-Git-Tag: submit/tizen/20170629.060228~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45900eb04a4146e2473911f25c460b11be945aea;p=platform%2Fcore%2Fappfw%2Fapp-core.git Fix language fallback - Add selected langauge to the environment variables Change-Id: I82746c53c59f83eea215a456ebe1ba0ee03bcda9 Signed-off-by: Hwankyu Jhun --- diff --git a/src/base/appcore_base.c b/src/base/appcore_base.c index c431058..15e6db4 100644 --- a/src/base/appcore_base.c +++ b/src/base/appcore_base.c @@ -417,6 +417,8 @@ static GList *__append_langs(const char *lang, GList *list, GHashTable *table) if (lang == NULL) return list; + list = g_list_append(list, strdup(lang)); + extract_lang = __get_string_before(lang, "."); if (extract_lang == NULL) return list;