projects
/
platform
/
core
/
uifw
/
libscl-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
487ce2f
)
Fix i18n issue in IME
25/193625/2
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 22 Nov 2018 09:35:07 +0000
(18:35 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 22 Nov 2018 09:53:08 +0000
(18:53 +0900)
Change-Id: I24eb5dcaba083600c4c37c4de182b19d5097ada6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/sclcoreui-efl.cpp
patch
|
blob
|
history
diff --git
a/src/sclcoreui-efl.cpp
b/src/sclcoreui-efl.cpp
index
15ce472
..
e084b35
100644
(file)
--- a/
src/sclcoreui-efl.cpp
+++ b/
src/sclcoreui-efl.cpp
@@
-165,6
+165,12
@@
static int language_changed_cb(void *event_info, void* data)
}
LOGD("current language is %s\n", clang);
+ setenv("LC_ALL", clang, 1);
+ char *r = setlocale(LC_ALL, "");
+ if (r == NULL) {
+ setlocale(LC_ALL, "en_US.UTF-8");
+ }
+
CSCLCoreImpl *impl = CSCLCoreImpl::get_instance();
if (impl) {
ISCLCoreEventCallback *callback = impl->get_core_event_callback();