getLangHeader static method

String getLangHeader()

Implementation

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