Constructors
Methods
getName
- getName(code):
| "Bhojpuri"
| "Cebuano"
| "Chinese Simplified"
| "Chinese Traditional"
| "Dogri"
| "Filipino"
| "Hawaiian"
| "Hebrew"
| "Hmong"
| "Ilocano"
| "Javanese"
| "Konkani"
| "Krio"
| "Kurdish"
| "Maithili"
| "Meitei (Manipuri)"
| "Mizo"
| "Northern Sotho" Returns
| "Bhojpuri"
| "Cebuano"
| "Chinese Simplified"
| "Chinese Traditional"
| "Dogri"
| "Filipino"
| "Hawaiian"
| "Hebrew"
| "Hmong"
| "Ilocano"
| "Javanese"
| "Konkani"
| "Krio"
| "Kurdish"
| "Maithili"
| "Meitei (Manipuri)"
| "Mizo"
| "Northern Sotho"
- The name of the language.
getAllNames
- getAllNames(): string[]
Returns string[]
- An array of language names.
getNativeName
- getNativeName(code):
| "भोजपुरी"
| "Cebuan"
| "简体中文"
| "繁體中文"
| "𑠖𑠵𑠌𑠤𑠮"
| "Wikang Filipino"
| "ʻŌlelo Hawaiʻi"
| "עִבְרִית"
| "Mong"
| "Ilokano"
| "basa jawa"
| "कोंकणी"
| "Krio"
| "کوردی"
| "मैथिली"
| "ꯃꯩꯇꯩꯂꯣꯟ"
| "Mizo ṭawng"
| "Sesotho sa Lebowa" Returns
| "भोजपुरी"
| "Cebuan"
| "简体中文"
| "繁體中文"
| "𑠖𑠵𑠌𑠤𑠮"
| "Wikang Filipino"
| "ʻŌlelo Hawaiʻi"
| "עִבְרִית"
| "Mong"
| "Ilokano"
| "basa jawa"
| "कोंकणी"
| "Krio"
| "کوردی"
| "मैथिली"
| "ꯃꯩꯇꯩꯂꯣꯟ"
| "Mizo ṭawng"
| "Sesotho sa Lebowa"
- The native name of the language.
getAllNativeNames
- getAllNativeNames(): string[]
Returns string[]
- An array of native language names.
validate
- validate(code): boolean
Returns boolean
- True if the code is valid, false otherwise.
Represents a utility class for working with ISO 639-1 language codes and additional custom codes.
See