getLangHeader static method
Implementation
static String getLangHeader() {
String language = ui.window.locale.languageCode;
return ((language.isNotEmpty) && language.contains("zh"))
? "zh-CN"
: "en-US";
}
static String getLangHeader() {
String language = ui.window.locale.languageCode;
return ((language.isNotEmpty) && language.contains("zh"))
? "zh-CN"
: "en-US";
}