Language

@Serializable
enum Language : Enum<Language> (source)

ISO 639-1 language code.

Enum names of this enum themselves are represented by ISO 639-1 code (2-letter lower-case alphabets).

// List all the language codes.
for (LanguageCode code : LanguageCode.values())
{
// For examp LE, "[ar] Arabic" is printed.
System.out.format("[%s] %s\n", co DE, code.[.getName]);
}

// Get a LanguageCode instance by ISO 639-1 code.
LanguageCode code = LanguageCode.[getByCode][.getByCode]("fr");

// Convert to a Locale instance.
Locale locale = code.[.toLocale];

// Get a LanguageCode by a Locale instance.
code = LanguageCode.[getByLocale][.getByLocale](locale);

// Get a list by a regular expression for names.
//
// The list will contain:
//
//     LanguageCode.an : Aragonese
//     LanguageCode.ja : Japanese
//     LanguageCode.jv : Javanese
//     LanguageCode.su : Sundanese
//     LanguageCode.zh : Chinese
//
List<LanguageCode> list = LanguageCode.[findByName][.findByName](".*nese");
*

Author

Takahiko Kawasaki

Entries

Link copied to clipboard

Afar (LanguageAlpha3Code.aar).

Link copied to clipboard

Abkhaz (LanguageAlpha3Code.abk).

Link copied to clipboard

Avestan (LanguageAlpha3Code.ave).

Link copied to clipboard

Afrikaans (LanguageAlpha3Code.afr).

Link copied to clipboard

Akan (LanguageAlpha3Code.aka).

Link copied to clipboard

Amharic (LanguageAlpha3Code.amh).

Link copied to clipboard

Aragonese (LanguageAlpha3Code.arg).

Link copied to clipboard

Arabic (LanguageAlpha3Code.ara).

Link copied to clipboard

Assamese (LanguageAlpha3Code.asm).

Link copied to clipboard

Avaric (LanguageAlpha3Code.ava).

Link copied to clipboard

Aymara (LanguageAlpha3Code.aym).

Link copied to clipboard

Azerbaijani (LanguageAlpha3Code.aze).

Link copied to clipboard

Bashkir (LanguageAlpha3Code.bak).

Link copied to clipboard

Belarusian (LanguageAlpha3Code.bel).

Link copied to clipboard

Bulgarian (LanguageAlpha3Code.bul).

Link copied to clipboard

Bihari (LanguageAlpha3Code.bih).

Link copied to clipboard

Bislama (LanguageAlpha3Code.bis).

Link copied to clipboard

Bambara (LanguageAlpha3Code.bam).

Link copied to clipboard

Bengali (LanguageAlpha3Code.ben).

Link copied to clipboard

Tibetan (LanguageAlpha3Code.bo D, LanguageAlpha3Code.tib).

Link copied to clipboard

Breton (LanguageAlpha3Code.bre).

Link copied to clipboard

Bosnian (LanguageAlpha3Code.bos).

Link copied to clipboard

Catalan (LanguageAlpha3Code.cat).

Link copied to clipboard

Chechen (LanguageAlpha3Code.che).

Link copied to clipboard

Chamorro (LanguageAlpha3Code.cha).

Link copied to clipboard

Corsican (LanguageAlpha3Code.cos).

Link copied to clipboard

Cree (LanguageAlpha3Code.cre).

Link copied to clipboard

Czech (LanguageAlpha3Code.ce S, LanguageAlpha3Code.cze).

Link copied to clipboard

Church Slavonic (LanguageAlpha3Code.chu).

Link copied to clipboard

Chuvash (LanguageAlpha3Code.chv).

Link copied to clipboard

Welsh (LanguageAlpha3Code.cy M, LanguageAlpha3Code.wel).

Link copied to clipboard

Danish (LanguageAlpha3Code.dan).

Link copied to clipboard

German (LanguageAlpha3Code.de U, LanguageAlpha3Code.ger).

Link copied to clipboard

Dhivehi (LanguageAlpha3Code.div).

Link copied to clipboard

Dzongkha (LanguageAlpha3Code.dzo).

Link copied to clipboard

Ewe (LanguageAlpha3Code.ewe).

Link copied to clipboard

Greek (LanguageAlpha3Code.el L, LanguageAlpha3Code.gre).

Link copied to clipboard

English (LanguageAlpha3Code.eng).

Link copied to clipboard

Esperanto (LanguageAlpha3Code.epo).

Link copied to clipboard

Spanish (LanguageAlpha3Code.spa).

Link copied to clipboard

Estonian (LanguageAlpha3Code.est).

Link copied to clipboard

Basque (LanguageAlpha3Code.eu S, LanguageAlpha3Code.baq).

Link copied to clipboard

Persian (LanguageAlpha3Code.fa S, LanguageAlpha3Code.per).

Link copied to clipboard

Fula (LanguageAlpha3Code.ful).

Link copied to clipboard

Finnish (LanguageAlpha3Code.fin).

Link copied to clipboard

Fijian (LanguageAlpha3Code.fij).

Link copied to clipboard

Faroese (LanguageAlpha3Code.fao).

Link copied to clipboard

French (LanguageAlpha3Code.fr A, LanguageAlpha3Code.fre).

Link copied to clipboard

West Frisian (LanguageAlpha3Code.fry).

Link copied to clipboard

Irish (LanguageAlpha3Code.gle).

Link copied to clipboard

Scottish Gaelic (LanguageAlpha3Code.gla).

Link copied to clipboard

Galician (LanguageAlpha3Code.glg).

Link copied to clipboard

Guaran (LanguageAlpha3Code.grn).

Link copied to clipboard

Gujarati (LanguageAlpha3Code.guj).

Link copied to clipboard

Manx (LanguageAlpha3Code.glv).

Link copied to clipboard

Hausa (LanguageAlpha3Code.hau).

Link copied to clipboard

Hebrew (LanguageAlpha3Code.heb).

Link copied to clipboard

Hindi (LanguageAlpha3Code.hin).

Link copied to clipboard

Hiri Motu (LanguageAlpha3Code.hmo).

Link copied to clipboard

Croatian (LanguageAlpha3Code.hrv).

Link copied to clipboard

Haitian (LanguageAlpha3Code.hat).

Link copied to clipboard

Hungarian (LanguageAlpha3Code.hun).

Link copied to clipboard

Armenian (LanguageAlpha3Code.hy E, LanguageAlpha3Code.arm).

Link copied to clipboard

Herero (LanguageAlpha3Code.her).

Link copied to clipboard

Interlingua (LanguageAlpha3Code.ina).

Link copied to clipboard

Indonesian (LanguageAlpha3Code.ind).

Link copied to clipboard

Interlingue (LanguageAlpha3Code.ile).

Link copied to clipboard

Igbo (LanguageAlpha3Code.ibo).

Link copied to clipboard

Nuosu (LanguageAlpha3Code.iii).

Link copied to clipboard

Inupiaq (LanguageAlpha3Code.ipk).

Link copied to clipboard

Ido (LanguageAlpha3Code.ido).

Link copied to clipboard

Icelandic (LanguageAlpha3Code.is L, LanguageAlpha3Code.ice).

Link copied to clipboard

Italian (LanguageAlpha3Code.ita).

Link copied to clipboard

Inuktitut (LanguageAlpha3Code.iku).

Link copied to clipboard

Japanese (LanguageAlpha3Code.jpn).

Link copied to clipboard

Javanese (LanguageAlpha3Code.jav).

Link copied to clipboard

Georgian (LanguageAlpha3Code.ka T, LanguageAlpha3Code.geo).

Link copied to clipboard

Kongo (LanguageAlpha3Code.kon).

Link copied to clipboard

Kikuyu (LanguageAlpha3Code.kik).

Link copied to clipboard

Kwanyama (LanguageAlpha3Code.kua).

Link copied to clipboard

Kazakh (LanguageAlpha3Code.kaz).

Link copied to clipboard

Kalaallisut (LanguageAlpha3Code.kal).

Link copied to clipboard

Khmer (LanguageAlpha3Code.khm).

Link copied to clipboard

Kannada (LanguageAlpha3Code.kan).

Link copied to clipboard

Korean (LanguageAlpha3Code.kor).

Link copied to clipboard

Kanuri (LanguageAlpha3Code.kau).

Link copied to clipboard

Kashmiri (LanguageAlpha3Code.kas).

Link copied to clipboard

Kurdish (LanguageAlpha3Code.kur).

Link copied to clipboard

Komi (LanguageAlpha3Code.kom).

Link copied to clipboard

Cornish (LanguageAlpha3Code.cor).

Link copied to clipboard

Kyrgyz (LanguageAlpha3Code.kir).

Link copied to clipboard

Latin (LanguageAlpha3Code.lat).

Link copied to clipboard

Luxembourgish (LanguageAlpha3Code.ltz).

Link copied to clipboard

Ganda (LanguageAlpha3Code.lug).

Link copied to clipboard

Limburgish (LanguageAlpha3Code.lim).

Link copied to clipboard

Lingala (LanguageAlpha3Code.lin).

Link copied to clipboard

Lao (LanguageAlpha3Code.lao).

Link copied to clipboard

Lithuanian (LanguageAlpha3Code.lit).

Link copied to clipboard

Luba-Katanga (LanguageAlpha3Code.lub).

Link copied to clipboard

Latvian (LanguageAlpha3Code.lav).

Link copied to clipboard

Malagasy (LanguageAlpha3Code.mlg).

Link copied to clipboard

Marshallese (LanguageAlpha3Code.mah).

Link copied to clipboard

Māori (LanguageAlpha3Code.mr I, LanguageAlpha3Code.mao).

Link copied to clipboard

Macedonian (LanguageAlpha3Code.mk D, LanguageAlpha3Code.mac)).

Link copied to clipboard

Malayalam (LanguageAlpha3Code.mal).

Link copied to clipboard

Mongolian (LanguageAlpha3Code.mon).

Link copied to clipboard

Marathi (LanguageAlpha3Code.mar).

Link copied to clipboard

Malay (LanguageAlpha3Code.ms A, LanguageAlpha3Code.may).

Link copied to clipboard

Maltese (LanguageAlpha3Code.mlt).

Link copied to clipboard

Burmese (LanguageAlpha3Code.my A, LanguageAlpha3Code.bur).

Link copied to clipboard

Nauru (LanguageAlpha3Code.nau).

Link copied to clipboard

Norwegian Bokml (LanguageAlpha3Code.nob).

Link copied to clipboard

Northern Ndebele (LanguageAlpha3Code.nde).

Link copied to clipboard

Nepali (LanguageAlpha3Code.nep).

Link copied to clipboard

Ndonga (LanguageAlpha3Code.ndo).

Link copied to clipboard

Dutch (LanguageAlpha3Code.nl D, LanguageAlpha3Code.dut).

Link copied to clipboard

Norwegian Nynorsk (LanguageAlpha3Code.nno).

Link copied to clipboard

Norwegian (LanguageAlpha3Code.nor).

Link copied to clipboard

Southern Ndebele (LanguageAlpha3Code.nbl).

Link copied to clipboard

Navajo (LanguageAlpha3Code.nav).

Link copied to clipboard

Chichewa (LanguageAlpha3Code.nya).

Link copied to clipboard

Occitan (LanguageAlpha3Code.oci).

Link copied to clipboard

Ojibwe (LanguageAlpha3Code.oji).

Link copied to clipboard

Oromo (LanguageAlpha3Code.orm).

Link copied to clipboard

Oriya (LanguageAlpha3Code.ori).

Link copied to clipboard

Ossetian (LanguageAlpha3Code.oss).

Link copied to clipboard

Punjabi (LanguageAlpha3Code.pan).

Link copied to clipboard

Pāli (LanguageAlpha3Code.pli).

Link copied to clipboard

Polish (LanguageAlpha3Code.pol).

Link copied to clipboard

Pashto (LanguageAlpha3Code.pus).

Link copied to clipboard

Portuguese (LanguageAlpha3Code.por).

Link copied to clipboard

Quechua (LanguageAlpha3Code.que).

Link copied to clipboard

Romansh (LanguageAlpha3Code.roh).

Link copied to clipboard

Kirundi (LanguageAlpha3Code.run).

Link copied to clipboard

Romanian (LanguageAlpha3Code.ro N, LanguageAlpha3Code.rum).

Link copied to clipboard

Russian (LanguageAlpha3Code.run).

Link copied to clipboard

Kinyarwanda (LanguageAlpha3Code.kin).

Link copied to clipboard

Sanskrit (LanguageAlpha3Code.san).

Link copied to clipboard

Sardinian (LanguageAlpha3Code.srd).

Link copied to clipboard

Sindhi (LanguageAlpha3Code.snd).

Link copied to clipboard

Northern Sami (LanguageAlpha3Code.sme).

Link copied to clipboard

Sango (LanguageAlpha3Code.sag).

Link copied to clipboard

Sinhala (LanguageAlpha3Code.sin).

Link copied to clipboard

Slovak (LanguageAlpha3Code.sl K, LanguageAlpha3Code.slo).

Link copied to clipboard

Slovene (LanguageAlpha3Code.slv).

Link copied to clipboard

Samoan (LanguageAlpha3Code.smo).

Link copied to clipboard

Shona (LanguageAlpha3Code.sna).

Link copied to clipboard

Somali (LanguageAlpha3Code.som).

Link copied to clipboard

Albanian (LanguageAlpha3Code.sq I, LanguageAlpha3Code.alb).

Link copied to clipboard

Serbian (LanguageAlpha3Code.srp).

Link copied to clipboard

Swati (LanguageAlpha3Code.ssw).

Link copied to clipboard

Southern Sotho (LanguageAlpha3Code.sot).

Link copied to clipboard

Sundanese (LanguageAlpha3Code.sun).

Link copied to clipboard

Swedish (LanguageAlpha3Code.swe).

Link copied to clipboard

Swahili (LanguageAlpha3Code.swa).

Link copied to clipboard

Tamil (LanguageAlpha3Code.tam).

Link copied to clipboard

Telugu (LanguageAlpha3Code.tel).

Link copied to clipboard

Tajik (LanguageAlpha3Code.tgk).

Link copied to clipboard

Thai (LanguageAlpha3Code.tha).

Link copied to clipboard

Tigrinya (LanguageAlpha3Code.tir).

Link copied to clipboard

Turkmen (LanguageAlpha3Code.tuk).

Link copied to clipboard

Tagalog (LanguageAlpha3Code.tgl).

Link copied to clipboard

Tswana (LanguageAlpha3Code.tsn).

Link copied to clipboard

Tongan (LanguageAlpha3Code.ton).

Link copied to clipboard

Turkish (LanguageAlpha3Code.tur).

Link copied to clipboard

Tsonga (LanguageAlpha3Code.tso).

Link copied to clipboard

Tatar (LanguageAlpha3Code.tat).

Link copied to clipboard

Twi (LanguageAlpha3Code.twi).

Link copied to clipboard

Tahitian (LanguageAlpha3Code.tah).

Link copied to clipboard

Uighur (LanguageAlpha3Code.uig).

Link copied to clipboard

Ukrainian (LanguageAlpha3Code.ukr).

Link copied to clipboard

Urdu (LanguageAlpha3Code.urd).

Link copied to clipboard

Uzbek (LanguageAlpha3Code.uzb).

Link copied to clipboard

Venda (LanguageAlpha3Code.ven).

Link copied to clipboard

Vietnamese (LanguageAlpha3Code.vie).

Link copied to clipboard

Volapk (LanguageAlpha3Code.vol).

Link copied to clipboard

Walloon (LanguageAlpha3Code.wln).

Link copied to clipboard

Wolof (LanguageAlpha3Code.wol).

Link copied to clipboard

Xhosa (LanguageAlpha3Code.xho).

Link copied to clipboard

Yiddish (LanguageAlpha3Code.yid).

Link copied to clipboard

Yoruba (LanguageAlpha3Code.yor).

Link copied to clipboard

Zhuang (LanguageAlpha3Code.zha).

Link copied to clipboard

Chinese (LanguageAlpha3Code.zh O, LanguageAlpha3Code.chi).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Language

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.