From f9e12bdf9c68b654f73734c4c033dd130c692c9e Mon Sep 17 00:00:00 2001 From: Taejeong Lee Date: Fri, 11 Jan 2013 17:41:12 +0900 Subject: [PATCH] Bug fix about incorrect value at 'window.navigator.language'. * Changed to perform setting appcore region information before forking WebProcess. [Issue#] N/A [Problem] incorrect value at 'window.navigator.language' [Cause] N/A [Solution] Changed to perform setting appcore region information before forking WebProcess. Change-Id: I598de8e430c253adfdd9f18c1da7b3ccae5068a6 --- src/wrt-client/CMakeLists.txt | 1 + src/wrt-client/wrt-client.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/wrt-client/CMakeLists.txt b/src/wrt-client/CMakeLists.txt index ae644ee..16eecce 100644 --- a/src/wrt-client/CMakeLists.txt +++ b/src/wrt-client/CMakeLists.txt @@ -24,6 +24,7 @@ SET(WRT_CLIENT_SRCS PKG_CHECK_MODULES(CLIENT_DEP dpl-wrt-dao-ro wrt-plugin-js-overlay + appcore-efl REQUIRED ) diff --git a/src/wrt-client/wrt-client.cpp b/src/wrt-client/wrt-client.cpp index b04c4d1..4f4e823 100644 --- a/src/wrt-client/wrt-client.cpp +++ b/src/wrt-client/wrt-client.cpp @@ -14,6 +14,7 @@ * limitations under the License. */ #include "wrt-client.h" +#include #include #include #include @@ -684,6 +685,8 @@ int main(int argc, if (!tizenId.empty()) { LogDebug("Launching by fork mode"); + // Language env setup + appcore_set_i18n("wrt-client", NULL); ewk_init(); ewk_set_arguments(argc, argv); setenv("WRT_LAUNCHING_PERFORMANCE", "1", 1); -- 2.7.4