您的当前位置:首页正文

全球国家代码枚举类(ISO 639-1 )

2024-11-26 来源:个人技术集锦
public enum Region {

    AF("af", "Afrikaans"),
    SQ("sq", "Albanian"),
    AR_DZ("ar-dz", "Arabic (Algeria)"),
    AR_BH("ar-bh", "Arabic (Bahrain)"),
    AR_EG("ar-eg", "Arabic (Egypt)"),
    AR_IQ("ar-iq", "Arabic (Iraq)"),
    AR_JO("ar-jo", "Arabic (Jordan)"),
    AR_KW("ar-kw", "Arabic (Kuwait)"),
    AR_LB("ar-lb", "Arabic (Lebanon)"),
    AR_LY("ar-ly", "Arabic (Libya)"),
    AR_MA("ar-ma", "Arabic (Morocco)"),
    AR_OM("ar-om", "Arabic (Oman)"),
    AR_QA("ar-qa", "Arabic (Qatar)"),
    AR_SA("ar-sa", "Arabic (Saudi Arabia)"),
    AR_SY("ar-sy", "Arabic (Syria)"),
    AR_TN("ar-tn", "Arabic (Tunisia)"),
    AR_AE("ar-ae", "Arabic (U.A.E.)"),
    AR_YE("ar-ye", "Arabic (Yemen)"),
    EU("eu", "Basque"),
    BE("be", "Belarusian"),
    BG("bg", "Bulgarian"),
    CA("ca", "Catalan"),
    ZH_HK("zh-hk", "Chinese (Hong Kong)"),
    ZH_CN("zh-cn", "Chinese (PRC)"),
    ZH_SG("zh-sg", "Chinese (Singapore)"),
    ZH_TW("zh-tw", "Chinese (Taiwan)"),
    HR("hr", "Croatian"),
    CS("cs", "Czech"),
    DA("da", "Danish"),
    NL_BE("nl-be", "Dutch (Belgium)"),
    NL("nl", "Dutch (Standard)"),
    EN("en", "English"),
    EN_AU("en-au", "English (Australia)"),
    EN_BZ("en-bz", "English (Belize)"),
    EN_CA("en-ca", "English (Canada)"),
    EN_IE("en-ie", "English (Ireland)"),
    EN_JM("en-jm", "English (Jamaica)"),
    EN_NZ("en-nz", "English (New Zealand)"),
    EN_ZA("en-za", "English (South Africa)"),
    EN_TT("en-tt", "English (Trinidad)"),
    EN_GB("en-gb", "English (United Kingdom)"),
    EN_US("en-us", "English (United States)"),
    ET("et", "Estonian"),
    FO("fo", "Faeroese"),
    FA("fa", "Farsi"),
    FI("fi", "Finnish"),
    FR_BE("fr-be", "French (Belgium)"),
    FR_CA("fr-ca", "French (Canada)"),
    FR_LU("fr-lu", "French (Luxembourg)"),
    FR("fr", "French (Standard)"),
    FR_CH("fr-ch", "French (Switzerland)"),
    GD("gd", "Gaelic (Scotland)"),
    DE_AT("de-at", "German (Austria)"),
    DE_LI("de-li", "German (Liechtenstein)"),
    DE_LU("de-lu", "German (Luxembourg)"),
    DE("de", "German (Standard)"),
    DE_CH("de-ch", "German (Switzerland)"),
    EL("el", "Greek"),
    HE("he", "Hebrew"),
    HI("hi", "Hindi"),
    HU("hu", "Hungarian"),
    IS("is", "Icelandic"),
    ID("id", "Indonesian"),
    GA("ga", "Irish"),
    IT("it", "Italian (Standard)"),
    IT_CH("it-ch", "Italian (Switzerland)"),
    JA("ja", "Japanese"),
    KO("ko", "Korean"),
    KO_JO("ko", "Korean (Johab)"),
    KU("ku", "Kurdish"),
    LV("lv", "Latvian"),
    LT("lt", "Lithuanian"),
    MK("mk", "Macedonian (FYROM)"),
    ML("ml", "Malayalam"),
    MS("ms", "Malaysian"),
    MT("mt", "Maltese"),
    NO("no", "Norwegian"),
    NB("nb", "Norwegian (Bokmål)"),
    NN("nn", "Norwegian (Nynorsk)"),
    PL("pl", "Polish"),
    PT_BR("pt-br", "Portuguese (Brazil)"),
    PT("pt", "Portuguese (Portugal)"),
    PA("pa", "Punjabi"),
    RM("rm", "Rhaeto-Romanic"),
    RO("ro", "Romanian"),
    RO_MD("ro-md", "Romanian (Republic of Moldova)"),
    RU("ru", "Russian"),
    RU_MD("ru-md", "Russian (Republic of Moldova)"),
    SR("sr", "Serbian"),
    SK("sk", "Slovak"),
    SL("sl", "Slovenian"),
    SB("sb", "Sorbian"),
    ES_AR("es-ar", "Spanish (Argentina)"),
    ES_BO("es-bo", "Spanish (Bolivia)"),
    ES_CL("es-cl", "Spanish (Chile)"),
    ES_CO("es-co", "Spanish (Colombia)"),
    ES_CR("es-cr", "Spanish (Costa Rica)"),
    ES_DO("es-do", "Spanish (Dominican Republic)"),
    ES_EC("es-ec", "Spanish (Ecuador)"),
    ES_SV("es-sv", "Spanish (El Salvador)"),
    ES_GT("es-gt", "Spanish (Guatemala)"),
    ES_HN("es-hn", "Spanish (Honduras)"),
    ES_MX("es-mx", "Spanish (Mexico)"),
    ES_NI("es-ni", "Spanish (Nicaragua)"),
    ES_PA("es-pa", "Spanish (Panama)"),
    ES_PY("es-py", "Spanish (Paraguay)"),
    ES_PE("es-pe", "Spanish (Peru)"),
    ES_PR("es-pr", "Spanish (Puerto Rico)"),
    ES("es", "Spanish (Spain)"),
    ES_UY("es-uy", "Spanish (Uruguay)"),
    ES_VE("es-ve", "Spanish (Venezuela)"),
    SV("sv", "Swedish"),
    SV_FI("sv-fi", "Swedish (Finland)"),
    TH("th", "Thai"),
    TS("ts", "Tsonga"),
    TN("tn", "Tswana"),
    TR("tr", "Turkish"),
    UA("ua", "Ukrainian"),
    UR("ur", "Urdu"),
    VE("ve", "Venda"),
    VI("vi", "Vietnamese"),
    CY("cy", "Welsh"),
    XH("xh", "Xhosa"),
    JI("ji", "Yiddish"),
    ZU("zu", "Zulu"),


    ;

    private final String region;
    private final String name;

    Region(String region, String name) {
        this.region = region;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getRegion() {
        return region;
    }
}
显示全文