Change LC_ALL value 48/192948/2
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 13 Nov 2018 06:07:35 +0000 (15:07 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 13 Nov 2018 07:45:41 +0000 (16:45 +0900)
While updating language information, appcore sets LC_ALL variable to the
environment.

Change-Id: I9617e2d10c52d29cc0f6eebee576ef9302f8d24a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c

index 9b214bc..27eee21 100644 (file)
@@ -669,6 +669,7 @@ static void __update_lang(void)
                }
                setenv("LANG", lang, 1);
                setenv("LC_MESSAGES", lang, 1);
+               setenv("LC_ALL", lang, 1);
                r = setlocale(LC_ALL, "");
                if (r == NULL) {
                        r = setlocale(LC_ALL, "en_US.UTF-8");