Searched refs:appLanguage (Results 1 – 3 of 3) sorted by relevance
51 void GLOBAL_ConfigLanguage(const char *appLanguage) in GLOBAL_ConfigLanguage() argument53 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()
41 void GLOBAL_ConfigLanguage(const char *appLanguage) in GLOBAL_ConfigLanguage() argument43 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()
38 void GLOBAL_ConfigLanguage(const char *appLanguage);