文档

LanguageEnum

更新时间:

平台语言种类。

说明

一般接口调用需要传入的参数取下面枚举中的locale值,比如语言选择中文,传入zh-CN.

public enum LanguageEnum {
    /**
     * 语言编码及国家地区编码对照关系
     */
    EN_US("en-US", "英文(美国)", "English"),
    ZH_CN("zh-CN", "简体中文", "Chinese Simplified"),
    DE_DE("de-DE", "德语", "German"),
    JA_JP("ja-JP", "日语", "Japanese"),
    FR_FR("fr-FR", "法语(法国)", "French"),
    KO_KR("ko-KR", "韩语", "Korean"),
    ES_ES("es-ES", "西班牙文(西班牙)", "Spanish"),
    RU_RU("ru-RU", "俄语", "Russian"),
    PT_PT("pt-PT", "葡萄牙文(葡萄牙)", "Portuguese"),
    IT_IT("it-IT", "意大利语", "Italian"),
    ID_ID("id-ID", "印尼语", "Indonesian"),
    VI_VN("vi-VN", "越南语", "Vietnamese"),
    TH_TH("th-TH", "泰语", "Thai"),
    ZH_TW("zh-TW", "繁体中文(台湾)", "Chinese Traditional"),
    ZH_HK("zh-HK", "繁体中文(香港)", "Chinese Traditional (HK)"),
    AR_AR("ar-AR", "阿拉伯语", "Arabic"),
    TR_TR("tr-TR", "土耳其语", "Turkish"),
    HE_HE("he-HE", "希伯来语", "Hebrew"),
    PT_BR("pt-BR", "葡萄牙文(巴西)", "Portuguese (Brazil)"),
    EN_GB("en-GB", "英文(英国)", "English (UK)"),
    HI_IN("hi-IN", "印地语", "Hindi"),
    NL_NL("nl-NL", "荷兰语", "Dutch"),
    MS_MY("ms-MY", "马来西亚语", "Malay"),
    EN_HK("en-HK", "英文(香港)", "English (HK)"),
    PL_PL("pl-PL", "波兰语", "Polish"),
    UK_UA("uk-UA", "乌克兰语", "Ukrainian"),
    ES_LAR("es-LAR", "拉丁西班牙语", "Latin Spanish"),
    UR_PK("ur-PK", "乌尔都语", "Urdu"),
    MY_MM("my-MM", "缅甸语", "Burmese"),
    BN_BN("bn-BN", "孟加拉语", "Bengali"),
    UG_CN("ug-CN", "维语", "Uighur"),
    TL_PH("tl-PH", "菲律宾语", "Filipino"),
    NE_NP("ne-NP", "尼泊尔语", "Nepali"),
    SI_LK("si-LK", "僧伽罗语", "Sinhala"),
    TA_IN("ta-IN", "泰米尔语", "Tamil"),
    TE_IN("te-IN", "泰卢固语", "Telugu"),
    MR_IN("mr-IN", "马拉地语", "Marathi"),
    ML_IN("ml-IN", "马拉雅拉姆语", "Malayalam"),
    GU_IN("gu-IN", "古吉拉特语", "Gujarati"),
    KN_IN("kn-IN", "卡纳达语", "Kannada"),
    PA_IN("pa-IN", "旁遮普语", "Punjabi"),
    OR_IN("or-IN", "奥里亚语", "Oriya"),
    AS_IN("as-IN", "阿萨姆语", "Assamese"),
    MN_IN("mn-IN", "曼尼普尔语", "Manipur"),
    BH_IN("bh-IN", "比哈尔语", "Bihar"),
    FI_FI("fi-FI", "芬兰语", "Finnish"),
    ZH_YUE("zh-yue", "粤语", "Cantonese"),
    HA_NG("ha-NG", "豪萨语", "Hausa"),
    ZU_ZA("zu-ZA", "祖鲁语", "Zulu"),
    BN_IN("bn-IN", "孟加拉语 (印度)", "Bengali (India)"),
    UR_IN("ur-IN", "乌尔都语 (印度)", "Urdu (India)"),
    MN_MONG_CN("mn-Mong-CN", "内蒙古语", "Mongolian"),
    FA_IR("fa-IR", "波斯语(伊朗)", "Persian (Iran)"),
    ;

    private final String locale;
    private final String enName;
    private final String zhName;
}