From: Taejeong Lee Date: Fri, 11 Jan 2013 08:41:12 +0000 (+0900) Subject: Bug fix about incorrect value at 'window.navigator.language'. X-Git-Tag: 2.1b_release~22^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9e12bdf9c68b654f73734c4c033dd130c692c9e;p=platform%2Fframework%2Fweb%2Fwrt.git 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 --- 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);