From: Hokwon Song Date: Mon, 1 Apr 2013 01:06:56 +0000 (+0900) Subject: Fixed the bug of SelectedLanguage X-Git-Tag: accepted/tizen_2.1/20130425.034849~186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=442c0a9b44c847daa447874b2e072401fff428b1;p=platform%2Fframework%2Fnative%2Fappfw.git Fixed the bug of SelectedLanguage Change-Id: I1e94f79984d15afddaf93dc96667d8a28d9048e6 Signed-off-by: Hokwon Song --- diff --git a/src/locales/FLcl_LocaleManagerImpl.cpp b/src/locales/FLcl_LocaleManagerImpl.cpp index 724b89c..2c4b365 100644 --- a/src/locales/FLcl_LocaleManagerImpl.cpp +++ b/src/locales/FLcl_LocaleManagerImpl.cpp @@ -335,7 +335,7 @@ _LocaleManagerImpl::GetSelectedLanguage(void) int ret = runtime_info_get_value_string(RUNTIME_INFO_KEY_LANGUAGE, &pLanguagePtr); SysTryReturn(NID_LCL, ret == RUNTIME_INFO_ERROR_NONE, String(), E_SYSTEM, "[%s] The method cannot proceed due to a severe system error.", GetErrorMessage(E_SYSTEM)); - String language(_LocaleImpl(pLanguagePtr).Get3LetterCountryCodeString()); + String language(_LocaleImpl(pLanguagePtr).GetLanguageCodeString(false)); free(pLanguagePtr); return language;