Language
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
Azerbaijani (LanguageAlpha3Code.aze).
Belarusian (LanguageAlpha3Code.bel).
Church Slavonic (LanguageAlpha3Code.chu).
West Frisian (LanguageAlpha3Code.fry).
Scottish Gaelic (LanguageAlpha3Code.gla).
Interlingua (LanguageAlpha3Code.ina).
Indonesian (LanguageAlpha3Code.ind).
Interlingue (LanguageAlpha3Code.ile).
Kalaallisut (LanguageAlpha3Code.kal).
Luxembourgish (LanguageAlpha3Code.ltz).
Limburgish (LanguageAlpha3Code.lim).
Lithuanian (LanguageAlpha3Code.lit).
Luba-Katanga (LanguageAlpha3Code.lub).
Marshallese (LanguageAlpha3Code.mah).
Macedonian (LanguageAlpha3Code.mk D, LanguageAlpha3Code.mac)).
Norwegian Bokml (LanguageAlpha3Code.nob).
Northern Ndebele (LanguageAlpha3Code.nde).
Norwegian Nynorsk (LanguageAlpha3Code.nno).
Southern Ndebele (LanguageAlpha3Code.nbl).
Portuguese (LanguageAlpha3Code.por).
Kinyarwanda (LanguageAlpha3Code.kin).
Northern Sami (LanguageAlpha3Code.sme).
Southern Sotho (LanguageAlpha3Code.sot).
Vietnamese (LanguageAlpha3Code.vie).