diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2018-11-13 15:07:35 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2018-11-13 16:45:41 +0900 |
commit | 842b1c46fc4208eb510dcd762f24297706e6faa1 (patch) | |
tree | 244a62be776d2177d94dff27830f02899ea39c94 | |
parent | 55ed36b541a8a4e0b2be12368c10cbbe56c012bc (diff) | |
download | app-core-842b1c46fc4208eb510dcd762f24297706e6faa1.tar.gz app-core-842b1c46fc4208eb510dcd762f24297706e6faa1.tar.bz2 app-core-842b1c46fc4208eb510dcd762f24297706e6faa1.zip |
Change LC_ALL value
While updating language information, appcore sets LC_ALL variable to the
environment.
Change-Id: I9617e2d10c52d29cc0f6eebee576ef9302f8d24a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/base/appcore_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/appcore_base.c b/src/base/appcore_base.c index 9b214bc..27eee21 100644 --- a/src/base/appcore_base.c +++ b/src/base/appcore_base.c @@ -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"); |