- Method to get locales by ISO 639-1 code.
- Romanian native official language.
- Language support for:
- Assamese (India)
- Afar (Djibouti)
- Zulu (South Africa)
- Xhosa (South Africa)
- Afrikaans (South Africa)
- Pedi (South Africa)
- Tswana (South Africa)
- Southern Sotho (South Africa)
- Tsonga (South Africa)
- Swazi (South Africa)
- Venda (South Africa)
- Southern Ndebele (South Africa)
- Albanian (Albania)
- Aragonese (Spain)
- Armenian (Armenia)
- Azerbaijani (Azerbaijan)
- Basque (Spain)
- Belarusian (Belarus)
- Bislama (Vanuatu)
- Bosnian (Bosnia and Herzegovina)
- Breton (France)
- Bulgarian (Bulgaria)
- Burmese (Myanmar)
- Abkhaz (Abkhazia)
-
Language support for:
- Czech (Czech Republic)
- Norwegian (Norway)
-
Language support for:
- Dutch (Netherlands and Belgium)
- Swedish (Sweden)
- Finnish (Finland)
getLocaleByRegion
,getLocaleByISO31661Alpha2
andgetLocales
jsDocs, as well as improvedgetLocalesByOfficialLanguage
andgetLocaleByIETFLanguageTag
jsDocs.
- Renamed
getLocaleByISO3166Alpha2
function togetLocaleByISO31661Alpha2
to match the entire code in camel case.
-
Language support for:
- Japanese
- Korean (South Korea)
- Thai
- Romanian (Romania)
-
getFallback
internal method.
- Accept an array of official languages on
getLocalesByOfficialLanguage
. - Let the
query
internal method handle arrays.
- Default fallback setting.
- Batch search on internal
get
method.
- Improved jsDocs for
getLocaleByIETFLanguageTag
andgetLocalesByOfficialLanguage
methods by making them less verbose.
-
Language support for:
- English (G.B.)
- Chinese (Standard)
- Hindi
- Spanish (Mexico, Colombia and Spain)
- French
- Arabic (Egypt, Standard and U.A.E.)
- Bengali
- Indonesian
- Urdu
- German (Germany and Austria)
- Catalan
-
ISO 639-2 field on
Locale
interface.
- English (U.S.A.) and Portuguese (Brazil) ISO 639-1