Home
last modified time | relevance | path

Searched refs:appLanguage (Results 1 – 3 of 3) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.cpp51 void GLOBAL_ConfigLanguage(const char *appLanguage) in GLOBAL_ConfigLanguage() argument
53 if (appLanguage == nullptr) { in GLOBAL_ConfigLanguage()
58 std::string lan(appLanguage); in GLOBAL_ConfigLanguage()
75 language.assign(appLanguage, indexStart); in GLOBAL_ConfigLanguage()
76 script.assign(appLanguage + indexStart + 1, indexEnd - indexStart - 1); in GLOBAL_ConfigLanguage()
77 region.assign(appLanguage + indexEnd + 1); in GLOBAL_ConfigLanguage()
80 language.assign(appLanguage, indexStart); in GLOBAL_ConfigLanguage()
81 region.assign(appLanguage + indexStart + 1); in GLOBAL_ConfigLanguage()
85 g_resConfig->SetLocaleInfo(appLanguage, nullptr, nullptr); in GLOBAL_ConfigLanguage()
Dglobal.c41 void GLOBAL_ConfigLanguage(const char *appLanguage) in GLOBAL_ConfigLanguage() argument
43 if (appLanguage == NULL) { in GLOBAL_ConfigLanguage()
47 if (strcmp(appLanguage, g_locale) == 0) { in GLOBAL_ConfigLanguage()
50 if (strcpy_s(g_locale, MAX_LOCALE_LENGTH, appLanguage) != EOK) { in GLOBAL_ConfigLanguage()
/base/global/resource_management_lite/interfaces/inner_api/include/
Dglobal.h38 void GLOBAL_ConfigLanguage(const char *appLanguage);