npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

locale-codes

1.0.1 • Public • Published

Locale Codes

Node Version Downloads Travis

Language codes & country codes

Installation

Module available through the npm registry. It can be installed using the npm or yarn command line tools.

# NPM 
npm install locale-codes --save
# Or Using Yarn 
yarn add locale-codes

Example

const locale = require('locale-codes')
 
locale.all // [language: '...]
locale.getByTag('pt-br').name // 'Portuguese'

Documentation

API

locale.all

All languages

locale.where(key, text)

Get information

  • name - Language name (String)
  • location - Location country (String || Null)
  • tag - LCID tag (String)
  • lcid - LCID id (Number)
  • iso639-2 - ISO 639-2 id (String)
  • iso639-1 - ISO 639-1 id (String || Null)

Shortcuts

  • getByName(text) = where('name', text)
  • getByLocation(text) = where('location', text)
  • getByTag(text) = where('tag', text)
  • getByLCID(lcid) = where('lcid', id)
  • getByISO6392(text) = where('iso639-2', text)
  • getByISO6391(text) = where('iso639-1', text)

Locale List

Name Location Tag LCID ISO 639-2 ID ISO 639-1 ID
Afar null aa 4096 aar aa
Afar Djibouti aa-DJ 4096 aar aa
Afar Eritrea aa-ER 4096 aar aa
Afar Ethiopia aa-ET 4096 aar aa
Afrikaans null af 54 afr af
Afrikaans Namibia af-NA 4096 afr af
Afrikaans South Africa af-ZA 1078 afr af
Aghem null agq 4096 null null
Aghem Cameroon agq-CM 4096 null null
Akan null ak 4096 aka ak
Akan Ghana ak-GH 4096 aka ak
Albanian null sq 28 alb/sqi sq
Albanian Albania sq-AL 1052 alb/sqi sq
Albanian North Macedonia sq-MK 4096 alb/sqi sq
Alsatian null gsw 132 gsw null
Alsatian France gsw-FR 1156 gsw null
Alsatian Liechtenstein gsw-LI 4096 gsw null
Alsatian Switzerland gsw-CH 4096 gsw null
Amharic null am 94 amh am
Amharic Ethiopia am-ET 1118 amh am
Arabic null ar 1 ara ar
Arabic Algeria ar-DZ 5121 ara ar
Arabic Bahrain ar-BH 15361 ara ar
Arabic Chad ar-TD 4096 ara ar
Arabic Comoros ar-KM 4096 ara ar
Arabic Djibouti ar-DJ 4096 ara ar
Arabic Egypt ar-EG 3073 ara ar
Arabic Eritrea ar-ER 4096 ara ar
Arabic Iraq ar-IQ 2049 ara ar
Arabic Israel ar-IL 4096 ara ar
Arabic Jordan ar-JO 11265 ara ar
Arabic Kuwait ar-KW 13313 ara ar
Arabic Lebanon ar-LB 12289 ara ar
Arabic Libya ar-LY 4097 ara ar
Arabic Mauritania ar-MR 4096 ara ar
Arabic Morocco ar-MA 6145 ara ar
Arabic Oman ar-OM 8193 ara ar
Arabic Palestinian Authority ar-PS 4096 ara ar
Arabic Qatar ar-QA 16385 ara ar
Arabic Saudi Arabia ar-SA 1025 ara ar
Arabic Somalia ar-SO 4096 ara ar
Arabic South Sudan ar-SS 4096 ara ar
Arabic Sudan ar-SD 4096 ara ar
Arabic Syria ar-SY 10241 ara ar
Arabic Tunisia ar-TN 7169 ara ar
Arabic U.A.E. ar-AE 14337 ara ar
Arabic World ar-001 4096 ara ar
Arabic Yemen ar-YE 9217 ara ar
Armenian null hy 43 arm/hye hy
Armenian Armenia hy-AM 1067 arm/hye hy
Assamese null as 77 asm as
Assamese India as-IN 1101 asm as
Asturian null ast 4096 ast null
Asturian Spain ast-ES 4096 ast null
Asu null asa 4096 null null
Asu Tanzania asa-TZ 4096 null null
Azerbaijani (Cyrillic) null az-Cyrl 29740 null null
Azerbaijani (Cyrillic) Azerbaijan az-Cyrl-AZ 2092 null null
Azerbaijani (Latin) null az 44 null null
Azerbaijani (Latin) null az-Latn 30764 null null
Azerbaijani (Latin) Azerbaijan az-Latn-AZ 1068 null null
Bafia null ksf 4096 null null
Bafia Cameroon ksf-CM 4096 null null
Bamanankan null bm 4096 null null
Bamanankan (Latin) Mali bm-Latn-ML 4096 null null
Bangla null bn 69 null null
Bangla Bangladesh bn-BD 2117 null null
Bangla India bn-IN 1093 null null
Basaa null bas 4096 null null
Basaa Cameroon bas-CM 4096 null null
Bashkir null ba 109 bak ba
Bashkir Russia ba-RU 1133 bak ba
Basque null eu 45 baq/eus eu
Basque Spain eu-ES 1069 baq/eus eu
Belarusian null be 35 bel be
Belarusian Belarus be-BY 1059 bel be
Bemba null bem 4096 bem null
Bemba Zambia bem-ZM 4096 bem null
Bena null bez 4096 null null
Bena Tanzania bez-TZ 4096 null null
Blin null byn 4096 byn null
Blin Eritrea byn-ER 4096 byn null
Bodo null brx 4096 null null
Bodo India brx-IN 4096 null null
Bosnian (Cyrillic) null bs-Cyrl 25626 null null
Bosnian (Cyrillic) Bosnia and Herzegovina bs-Cyrl-BA 8218 null null
Bosnian (Latin) null bs-Latn 26650 null null
Bosnian (Latin) null bs 30746 null null
Bosnian (Latin) Bosnia and Herzegovina bs-Latn-BA 5146 null null
Breton null br 126 bre br
Breton France br-FR 1150 bre br
Bulgarian null bg 2 bul bg
Bulgarian Bulgaria bg-BG 1026 bul bg
Burmese null my 85 bur/mya my
Burmese Myanmar my-MM 1109 bur/mya my
Catalan null ca 3 cat ca
Catalan Andorra ca-AD 4096 cat ca
Catalan France ca-FR 4096 cat ca
Catalan Italy ca-IT 4096 cat ca
Catalan Spain ca-ES 1027 cat ca
Central Atlas Tamazight Morocco tzm-Latn- 4096 null null
Central Kurdish null ku 146 null null
Central Kurdish null ku-Arab 31890 null null
Central Kurdish Iraq ku-Arab-IQ 1170 null null
Chechen Russia cd-RU 4096 che ce
Cherokee null chr 92 chr null
Cherokee null chr-Cher 31836 chr null
Cherokee United States chr-Cher-US 1116 chr null
Chiga null cgg 4096 null null
Chiga Uganda cgg-UG 4096 null null
Chinese (Simplified) null zh-Hans 4 null null
Chinese (Simplified) null zh 30724 null null
Chinese (Simplified) People's Republic of China zh-CN 2052 null null
Chinese (Simplified) Singapore zh-SG 4100 null null
Chinese (Traditional) null zh-Hant 31748 null null
Chinese (Traditional) Hong Kong S.A.R. zh-HK 3076 null null
Chinese (Traditional) Macao S.A.R. zh-MO 5124 null null
Chinese (Traditional) Taiwan zh-TW 1028 null null
Church Slavic Russia cu-RU 4096 chu cu
Congo Swahili null swc 4096 null null
Congo Swahili Congo DRC swc-CD 4096 null null
Cornish null kw 4096 cor kw
Cornish United Kingdom kw-GB 4096 cor kw
Corsican null co 131 cos co
Corsican France co-FR 1155 cos co
Croatian null hr, 26 hrv hr
Croatian Croatia hr-HR 1050 hrv hr
Croatian (Latin) Bosnia and Herzegovina hr-BA 4122 null null
Czech null cs 5 cze/ces cs
Czech Czech Republic cs-CZ 1029 cze/ces cs
Danish null da 6 dan da
Danish Denmark da-DK 1030 dan da
Danish Greenland da-GL 4096 dan da
Dari null prs 140 null null
Dari Afghanistan prs-AF 1164 null null
Divehi null dv 101 div dv
Divehi Maldives dv-MV 1125 div dv
Duala null dua 4096 dua null
Duala Cameroon dua-CM 4096 dua null
Dutch null nl 19 dut/nld nl
Dutch Aruba nl-AW 4096 dut/nld nl
Dutch Belgium nl-BE 2067 dut/nld nl
Dutch Bonaire, Sint Eustatius and Saba nl-BQ 4096 dut/nld nl
Dutch Curaçao nl-CW 4096 dut/nld nl
Dutch Netherlands nl-NL 1043 dut/nld nl
Dutch Sint Maarten nl-SX 4096 dut/nld nl
Dutch Suriname nl-SR 4096 dut/nld nl
Dzongkha null dz 4096 dzo dz
Dzongkha Bhutan dz-BT 3153 dzo dz
Embu null ebu 4096 null null
Embu Kenya ebu-KE 4096 null null
English null en 9 eng en
English American Samoa en-AS 4096 eng en
English Anguilla en-AI 4096 eng en
English Antigua and Barbuda en-AG 4096 eng en
English Australia en-AU 3081 eng en
English Austria en-AT 4096 eng en
English Bahamas en-BS 4096 eng en
English Barbados en-BB 4096 eng en
English Belgium en-BE 4096 eng en
English Belize en-BZ 10249 eng en
English Bermuda en-BM 4096 eng en
English Botswana en-BW 4096 eng en
English British Indian Ocean Territory en-IO 4096 eng en
English British Virgin Islands en-VG 4096 eng en
English Burundi en-BI 4096 eng en
English Cameroon en-CM 4096 eng en
English Canada en-CA 4105 eng en
English Caribbean en-029 9225 eng en
English Cayman Islands en-KY 4096 eng en
English Christmas Island en-CX 4096 eng en
English Cocos [Keeling] Islands en-CC 4096 eng en
English Cook Islands en-CK 4096 eng en
English Cyprus en-CY 4096 eng en
English Denmark en-DK 4096 eng en
English Dominica en-DM 4096 eng en
English Eritrea en-ER 4096 eng en
English Europe en-150 4096 eng en
English Falkland Islands en-FK 4096 eng en
English Finland en-FI 4096 eng en
English Fiji en-FJ 4096 eng en
English Gambia en-GM 4096 eng en
English Germany en-DE 4096 eng en
English Ghana en-GH 4096 eng en
English Gibraltar en-GI 4096 eng en
English Grenada en-GD 4096 eng en
English Guam en-GU 4096 eng en
English Guernsey en-GG 4096 eng en
English Guyana en-GY 4096 eng en
English Hong Kong en-HK 15369 eng en
English India en-IN 16393 eng en
English Ireland en-IE 6153 eng en
English Isle of Man en-IM 4096 eng en
English Israel en-IL 4096 eng en
English Jamaica en-JM 8201 eng en
English Jersey en-JE 4096 eng en
English Kenya en-KE 4096 eng en
English Kiribati en-KI 4096 eng en
English Lesotho en-LS 4096 eng en
English Liberia en-LR 4096 eng en
English Macao SAR en-MO 4096 eng en
English Madagascar en-MG 4096 eng en
English Malawi en-MW 4096 eng en
English Malaysia en-MY 17417 eng en
English Malta en-MT 4096 eng en
English Marshall Islands en-MH 4096 eng en
English Mauritius en-MU 4096 eng en
English Micronesia en-FM 4096 eng en
English Montserrat en-MS 4096 eng en
English Namibia en-NA 4096 eng en
English Nauru en-NR 4096 eng en
English Netherlands en-NL 4096 eng en
English New Zealand en-NZ 5129 eng en
English Nigeria en-NG 4096 eng en
English Niue en-NU 4096 eng en
English Norfolk Island en-NF 4096 eng en
English Northern Mariana Islands en-MP 4096 eng en
English Pakistan en-PK 4096 eng en
English Palau en-PW 4096 eng en
English Papua New Guinea en-PG 4096 eng en
English Pitcairn Islands en-PN 4096 eng en
English Puerto Rico en-PR 4096 eng en
English Republic of the Philippines en-PH 13321 eng en
English Rwanda en-RW 4096 eng en
English Saint Kitts and Nevis en-KN 4096 eng en
English Saint Lucia en-LC 4096 eng en
English Saint Vincent and the Grenadines en-VC 4096 eng en
English Samoa en-WS 4096 eng en
English Seychelles en-SC 4096 eng en
English Sierra Leone en-SL 4096 eng en
English Singapore en-SG 18441 eng en
English Sint Maarten en-SX 4096 eng en
English Slovenia en-SI 4096 eng en
English Solomon Islands en-SB 4096 eng en
English South Africa en-ZA 7177 eng en
English South Sudan en-SS 4096 eng en
English St Helena, Ascension, Tristan da en-SH 4096 eng en
English Sudan en-SD 4096 eng en
English Swaziland en-SZ 4096 eng en
English Sweden en-SE 4096 eng en
English Switzerland en-CH 4096 eng en
English Tanzania en-TZ 4096 eng en
English Tokelau en-TK 4096 eng en
English Tonga en-TO 4096 eng en
English Trinidad and Tobago en-TT 11273 eng en
English Turks and Caicos Islands en-TC 4096 eng en
English Tuvalu en-TV 4096 eng en
English Uganda en-UG 4096 eng en
English United Kingdom en-GB 2057 eng en
English United States en-US 1033 eng en
English US Minor Outlying Islands en-UM 4096 eng en
English US Virgin Islands en-VI 4096 eng en
English Vanuatu en-VU 4096 eng en
English World en-001 4096 eng en
English Zambia en-ZM 4096 eng en
English Zimbabwe en-ZW 12297 eng en
Esperanto null eo 4096 epo eo
Esperanto World eo-001 4096 epo eo
Estonian null et 37 est et
Estonian Estonia et-EE 1061 est et
Ewe null ee 4096 ewe ee
Ewe Ghana ee-GH 4096 ewe ee
Ewe Togo ee-TG 4096 ewe ee
Ewondo null ewo 4096 ewo null
Ewondo Cameroon ewo-CM 4096 ewo null
Faroese null fo 56 fao fo
Faroese Denmark fo-DK 4096 fao fo
Faroese Faroe Islands fo-FO 1080 fao fo
Filipino null fil 100 fil null
Filipino Philippines fil-PH 1124 fil null
Finnish null fi 11 fin fi
Finnish Finland fi-FI 1035 fin fi
French null fr 12 fre/fra fr
French Algeria fr-DZ 4096 fre/fra fr
French Belgium fr-BE 2060 fre/fra fr
French Benin fr-BJ 4096 fre/fra fr
French Burkina Faso fr-BF 4096 fre/fra fr
French Burundi fr-BI 4096 fre/fra fr
French Cameroon fr-CM 11276 fre/fra fr
French Canada fr-CA 3084 fre/fra fr
French Central African Republic fr-CF 4096 fre/fra fr
French Chad fr-TD 4096 fre/fra fr
French Comoros fr-KM 4096 fre/fra fr
French Congo fr-CG 4096 fre/fra fr
French Congo, DRC fr-CD 9228 fre/fra fr
French Côte d'Ivoire fr-CI 12300 fre/fra fr
French Djibouti fr-DJ 4096 fre/fra fr
French Equatorial Guinea fr-GQ 4096 fre/fra fr
French France fr-FR 1036 fre/fra fr
French French Guiana fr-GF 4096 fre/fra fr
French French Polynesia fr-PF 4096 fre/fra fr
French Gabon fr-GA 4096 fre/fra fr
French Guadeloupe fr-GP 4096 fre/fra fr
French Guinea fr-GN 4096 fre/fra fr
French Haiti fr-HT 15372 fre/fra fr
French Luxembourg fr-LU 5132 fre/fra fr
French Madagascar fr-MG 4096 fre/fra fr
French Mali fr-ML 13324 fre/fra fr
French Martinique fr-MQ 4096 fre/fra fr
French Mauritania fr-MR 4096 fre/fra fr
French Mauritius fr-MU 4096 fre/fra fr
French Mayotte fr-YT 4096 fre/fra fr
French Morocco fr-MA 14348 fre/fra fr
French New Caledonia fr-NC 4096 fre/fra fr
French Niger fr-NE 4096 fre/fra fr
French Principality of Monaco fr-MC 6156 fre/fra fr
French Reunion fr-RE 8204 fre/fra fr
French Rwanda fr-RW 4096 fre/fra fr
French Saint Barthélemy fr-BL 4096 fre/fra fr
French Saint Martin fr-MF 4096 fre/fra fr
French Saint Pierre and Miquelon fr-PM 4096 fre/fra fr
French Senegal fr-SN 10252 fre/fra fr
French Seychelles fr-SC 4096 fre/fra fr
French Switzerland fr-CH 4108 fre/fra fr
French Syria fr-SY 4096 fre/fra fr
French Togo fr-TG 4096 fre/fra fr
French Tunisia fr-TN 4096 fre/fra fr
French Vanuatu fr-VU 4096 fre/fra fr
French Wallis and Futuna fr-WF 4096 fre/fra fr
Frisian null fy 98 null null
Frisian Netherlands fy-NL 1122 null null
Friulian null fur 4096 fur null
Friulian Italy fur-IT 4096 fur null
Fulah null ff 103 ful ff
Fulah (Latin) null ff-Latn 31847 null null
Fulah (Latin) Burkina Faso ff-Latn-BF 4096 null null
Fulah Cameroon ff-CM 4096 ful ff
Fulah (Latin) Cameroon ff-Latn-CM 4096 null null
Fulah (Latin) Gambia ff-Latn-GM 4096 null null
Fulah (Latin) Ghana ff-Latn-GH 4096 null null
Fulah Guinea ff-GN 4096 ful ff
Fulah (Latin) Guinea ff-Latn-GN 4096 null null
Fulah (Latin) Guinea-Bissau ff-Latn-GW 4096 null null
Fulah (Latin) Liberia ff-Latn-LR 4096 null null
Fulah Mauritania ff-MR 4096 ful ff
Fulah (Latin) Mauritania ff-Latn-MR 4096 null null
Fulah (Latin) Niger ff-Latn-NE 4096 null null
Fulah Nigeria ff-NG 4096 ful ff
Fulah (Latin) Nigeria ff-Latn-NG 4096 null null
Fulah Senegal ff-Latn-SN 2151 ful ff
Fulah (Latin) Sierra Leone ff-Latn-SL 4096 null null
Galician null gl 86 glg gl
Galician Spain gl-ES 1110 glg gl
Ganda null lg 4096 lug lg
Ganda Uganda lg-UG 4096 lug lg
Georgian null ka 55 geo/kat ka
Georgian Georgia ka-GE 1079 geo/kat ka
German null de 7 ger/deu de
German Austria de-AT 3079 ger/deu de
German Belgium de-BE 4096 ger/deu de
German Germany de-DE 1031 ger/deu de
German Italy de-IT 4096 ger/deu de
German Liechtenstein de-LI 5127 ger/deu de
German Luxembourg de-LU 4103 ger/deu de
German Switzerland de-CH 2055 ger/deu de
Greek null el 8 null null
Greek Cyprus el-CY 4096 null null
Greek Greece el-GR 1032 null null
Greenlandic null kl 111 kal kl
Greenlandic Greenland kl-GL 1135 kal kl
Guarani null gn 116 grn gn
Guarani Paraguay gn-PY 1140 grn gn
Gujarati null gu 71 guj gu
Gujarati India gu-IN 1095 guj gu
Gusii null guz 4096 null null
Gusii Kenya guz-KE 4096 null null
Hausa (Latin) null ha 104 null null
Hausa (Latin) null ha-Latn 31848 null null
Hausa (Latin) Ghana ha-Latn-GH 4096 null null
Hausa (Latin) Niger ha-Latn-NE 4096 null null
Hausa (Latin) Nigeria ha-Latn-NG 1128 null null
Hawaiian null haw 117 haw null
Hawaiian United States haw-US 1141 haw null
Hebrew null he 13 heb he
Hebrew Israel he-IL 1037 heb he
Hindi null hi 57 hin hi
Hindi India hi-IN 1081 hin hi
Hungarian null hu 14 hun hu
Hungarian Hungary hu-HU 1038 hun hu
Icelandic null is 15 ice/isl is
Icelandic Iceland is-IS 1039 ice/isl is
Igbo null ig 112 ibo ig
Igbo Nigeria ig-NG 1136 ibo ig
Indonesian null id 33 ind id
Indonesian Indonesia id-ID 1057 ind id
Interlingua null ia 4096 null null
Interlingua France ia-FR 4096 null null
Interlingua World ia-001 4096 null null
Inuktitut (Latin) null iu 93 null null
Inuktitut (Latin) null iu-Latn 31837 null null
Inuktitut (Latin) Canada iu-Latn-CA 2141 null null
Inuktitut (Syllabics) null iu-Cans 30813 null null
Inuktitut (Syllabics) Canada iu-Cans-CA 1117 null null
Irish null ga 60 gle ga
Irish Ireland ga-IE 2108 gle ga
Italian null it 16 ita it
Italian Italy it-IT 1040 ita it
Italian San Marino it-SM 4096 ita it
Italian Switzerland it-CH 2064 ita it
Italian Vatican City it-VA 4096 ita it
Japanese null ja 17 jpn ja
Japanese Japan ja-JP 1041 jpn ja
Javanese null jv 4096 jav jv
Javanese Latin jv-Latn 4096 jav jv
Javanese Latin, Indonesia jv-Latn-ID 4096 jav jv
Jola-Fonyi null dyo 4096 null null
Jola-Fonyi Senegal dyo-SN 4096 null null
Kabuverdianu null kea 4096 null null
Kabuverdianu Cabo Verde kea-CV 4096 null null
Kabyle null kab 4096 kab null
Kabyle Algeria kab-DZ 4096 kab null
Kako null kkj 4096 null null
Kako Cameroon kkj-CM 4096 null null
Kalenjin null kln 4096 null null
Kalenjin Kenya kln-KE 4096 null null
Kamba null kam 4096 kam null
Kamba Kenya kam-KE 4096 kam null
Kannada null kn 75 kan kn
Kannada India kn-IN 1099 kan kn
Kashmiri null ks 96 kas ks
Kashmiri Perso-Arabic ks-Arab 1120 kas ks
Kashmiri Perso-Arabic ks-Arab-IN 4096 kas ks
Kazakh null kk 63 kaz kk
Kazakh Kazakhstan kk-KZ 1087 kaz kk
Khmer null km 83 null null
Khmer Cambodia km-KH 1107 null null
K'iche null quc 134 null null
K'iche Guatemala quc-Latn-GT 1158 null null
Kikuyu null ki 4096 kik ki
Kikuyu Kenya ki-KE 4096 kik ki
Kinyarwanda null rw 135 kin rw
Kinyarwanda Rwanda rw-RW 1159 kin rw
Kiswahili null sw 65 null null
Kiswahili Kenya sw-KE 1089 null null
Kiswahili Tanzania sw-TZ 4096 null null
Kiswahili Uganda sw-UG 4096 null null
Konkani null kok 87 kok null
Konkani India kok-IN 1111 kok null
Korean null ko 18 kor ko
Korean Korea ko-KR 1042 kor ko
Korean North Korea ko-KP 4096 kor ko
Koyra Chiini null khq 4096 null null
Koyra Chiini Mali khq-ML 4096 null null
Koyraboro Senni null ses 4096 null null
Koyraboro Senni Mali ses-ML 4096 null null
Kwasio null nmg 4096 null null
Kwasio Cameroon nmg-CM 4096 null null
Kyrgyz null ky 64 kir ky
Kyrgyz Kyrgyzstan ky-KG 1088 kir ky
Kurdish Perso-Arabic, Iran ku-Arab-IR 4096 kur ku
Lakota null lkt 4096 null null
Lakota United States lkt-US 4096 null null
Langi null lag 4096 null null
Langi Tanzania lag-TZ 4096 null null
Lao null lo 84 lao lo
Lao Lao P.D.R. lo-LA 1108 lao lo
Latvian null lv 38 lav lv
Latvian Latvia lv-LV 1062 lav lv
Lingala null ln 4096 lin ln
Lingala Angola ln-AO 4096 lin ln
Lingala Central African Republic ln-CF 4096 lin ln
Lingala Congo ln-CG 4096 lin ln
Lingala Congo DRC ln-CD 4096 lin ln
Lithuanian null lt 39 lit lt
Lithuanian Lithuania lt-LT 1063 lit lt
Low German null nds 4096 nds null
Low German Germany nds-DE 4096 null null
Low German Netherlands nds-NL 4096 nds null
Lower Sorbian null dsb 31790 dsb null
Lower Sorbian Germany dsb-DE 2094 dsb null
Luba-Katanga null lu 4096 lub lu
Luba-Katanga Congo DRC lu-CD 4096 lub lu
Luo null luo 4096 null null
Luo Kenya luo-KE 4096 null null
Luxembourgish null lb 110 ltz lb
Luxembourgish Luxembourg lb-LU 1134 ltz lb
Luyia null luy 4096 null null
Luyia Kenya luy-KE 4096 null null
Macedonian null mk 47 mac/mkd mk
Macedonian North Macedonia mk-MK 1071 mac/mkd mk
Machame null jmc 4096 null null
Machame Tanzania jmc-TZ 4096 null null
Makhuwa-Meetto null mgh 4096 null null
Makhuwa-Meetto Mozambique mgh-MZ 4096 null null
Makonde null kde 4096 null null
Makonde Tanzania kde-TZ 4096 null null
Malagasy null mg 4096 mlg mg
Malagasy Madagascar mg-MG 4096 mlg mg
Malay null ms 62 may/msa ms
Malay Brunei Darussalam ms-BN 2110 may/msa ms
Malay Malaysia ms-MY 1086 may/msa ms
Malayalam null ml 76 mal ml
Malayalam India ml-IN 1100 mal ml
Maltese null mt 58 mlt mt
Maltese Malta mt-MT 1082 mlt mt
Manx null gv 4096 glv gv
Manx Isle of Man gv-IM 4096 glv gv
Maori null mi 129 mao/mri mi
Maori New Zealand mi-NZ 1153 mao/mri mi
Mapudungun null arn 122 arn null
Mapudungun Chile arn-CL 1146 arn null
Marathi null mr 78 mar mr
Marathi India mr-IN 1102 mar mr
Masai null mas 4096 mas null
Masai Kenya mas-KE 4096 mas null
Masai Tanzania mas-TZ 4096 mas null
Mazanderani Iran mzn-IR 4096 null null
Meru null mer 4096 null null
Meru Kenya mer-KE 4096 null null
Meta' null mgo 4096 null null
Meta' Cameroon mgo-CM 4096 null null
Mohawk null moh 124 moh null
Mohawk Canada moh-CA 1148 moh null
Mongolian (Cyrillic) null mn 80 null null
Mongolian (Cyrillic) null mn-Cyrl 30800 null null
Mongolian (Cyrillic) Mongolia mn-MN 1104 null null
Mongolian (Traditional null mn-Mong 31824 null null
Mongolian (Traditional Mongolia mn-Mong- 3152 null null
Morisyen null mfe 4096 null null
Morisyen Mauritius mfe-MU 4096 null null
Mundang null mua 4096 null null
Mundang Cameroon mua-CM 4096 null null
N'ko null nqo 4096 nqo null
N'ko Guinea nqo-GN 4096 nqo null
Nama null naq 4096 null null
Nama Namibia naq-NA 4096 null null
Nepali null ne 97 nep ne
Nepali India ne-IN 2145 nep ne
Nepali Nepal ne-NP 1121 nep ne
Ngiemboon null nnh 4096 null null
Ngiemboon Cameroon nnh-CM 4096 null null
Ngomba null jgo 4096 null null
Ngomba Cameroon jgo-CM 4096 null null
Northern Luri Iraq lrc-IQ 4096 null null
Northern Luri Iran lrc-IR 4096 null null
North Ndebele null nd 4096 nde nd
North Ndebele Zimbabwe nd-ZW 4096 nde nd
Norwegian (Bokmal) null no 20 null null
Norwegian (Bokmal) null nb 31764 null null
Norwegian (Bokmal) Norway nb-NO 1044 null null
Norwegian (Nynorsk) null nn 30740 null null
Norwegian (Nynorsk) Norway nn-NO 2068 null null
Norwegian Bokmål Svalbard and Jan Mayen nb-SJ 4096 nob nb
Nuer null nus 4096 null null
Nuer Sudan nus-SD 4096 null null
Nuer South Sudan nus-SS 4096 null null
Nyankole null nyn 4096 nyn null
Nyankole Uganda nyn-UG 4096 nyn null
Occitan null oc 130 null null
Occitan France oc-FR 1154 null null
Odia null or 72 null null
Odia India or-IN 1096 null null
Oromo null om 114 orm om
Oromo Ethiopia om-ET 1138 orm om
Oromo Kenya om-KE 4096 orm om
Ossetian null os 4096 oss os
Ossetian Cyrillic, Georgia os-GE 4096 oss os
Ossetian Cyrillic, Russia os-RU 4096 oss os
Pashto null ps 99 pus ps
Pashto Afghanistan ps-AF 1123 pus ps
Persian null fa 41 per/fas fa
Persian Afghanistan fa-AF 4096 per/fas fa
Persian Iran fa-IR 1065 per/fas fa
Polish null pl 21 pol pl
Polish Poland pl-PL 1045 pol pl
Portuguese null pt 22 por pt
Portuguese Angola pt-AO 4096 por pt
Portuguese Brazil pt-BR 1046 por pt
Portuguese Cabo Verde pt-CV 4096 por pt
Portuguese Equatorial Guinea pt-GQ 4096 por pt
Portuguese Guinea-Bissau pt-GW 4096 por pt
Portuguese Luxembourg pt-LU 4096 por pt
Portuguese Macao SAR pt-MO 4096 por pt
Portuguese Mozambique pt-MZ 4096 por pt
Portuguese Portugal pt-PT 2070 por pt
Portuguese São Tomé and Príncipe pt-ST 4096 por pt
Portuguese Switzerland pt-CH 4096 por pt
Portuguese Timor-Leste pt-TL 4096 por pt
Prussian null prg-001 4096 null null
Pseudo Language Pseudo locale for east Asian/complex qps-ploca 1534 null null
Pseudo Language Pseudo locale used for localization qps-ploc 1281 null null
Pseudo Language Pseudo locale used for localization qps-plocm 2559 null null
Punjabi null pa 70 pan pa
Punjabi null pa-Arab 31814 pan pa
Punjabi India pa-IN 1094 pan pa
Punjabi Islamic Republic of Pakistan pa-Arab-PK 2118 pan pa
Quechua null quz 107 que qu
Quechua Bolivia quz-BO 1131 que qu
Quechua Ecuador quz-EC 2155 que qu
Quechua Peru quz-PE 3179 que qu
Ripuarian null ksh 4096 null null
Ripuarian Germany ksh-DE 4096 null null
Romanian null ro 24 rum/ron ro
Romanian Moldova ro-MD 2072 rum/ron ro
Romanian Romania ro-RO 1048 rum/ron ro
Romansh null rm 23 roh rm
Romansh Switzerland rm-CH 1047 roh rm
Rombo null rof 4096 null null
Rombo Tanzania rof-TZ 4096 null null
Rundi null rn 4096 run rn
Rundi Burundi rn-BI 4096 run rn
Russian null ru 25 rus ru
Russian Belarus ru-BY 4096 rus ru
Russian Kazakhstan ru-KZ 4096 rus ru
Russian Kyrgyzstan ru-KG 4096 rus ru
Russian Moldova ru-MD 2073 rus ru
Russian Russia ru-RU 1049 rus ru
Russian Ukraine ru-UA 4096 rus ru
Rwa null rwk 4096 null null
Rwa Tanzania rwk-TZ 4096 null null
Saho null ssy 4096 null null
Saho Eritrea ssy-ER 4096 null null
Sakha null sah 133 null null
Sakha Russia sah-RU 1157 null null
Samburu null saq 4096 null null
Samburu Kenya saq-KE 4096 null null
Sami (Inari) null smn 28731 null null
Sami (Inari) Finland smn-FI 9275 null null
Sami (Lule) null smj 31803 null null
Sami (Lule) Norway smj-NO 4155 null null
Sami (Lule) Sweden smj-SE 5179 null null
Sami (Northern) null se 59 null null
Sami (Northern) Finland se-FI 3131 null null
Sami (Northern) Norway se-NO 1083 null null
Sami (Northern) Sweden se-SE 2107 null null
Sami (Skolt) null sms 29755 null null
Sami (Skolt) Finland sms-FI 8251 null null
Sami (Southern) null sma 30779 null null
Sami (Southern) Norway sma-NO 6203 null null
Sami (Southern) Sweden sma-SE 7227 null null
Sango null sg 4096 sag sg
Sango Central African Republic sg-CF 4096 sag sg
Sangu null sbp 4096 null null
Sangu Tanzania sbp-TZ 4096 null null
Sanskrit null sa 79 san sa
Sanskrit India sa-IN 1103 san sa
Scottish Gaelic null gd 145 gla gd
Scottish Gaelic United Kingdom gd-GB 1169 gla gd
Sena null seh 4096 null null
Sena Mozambique seh-MZ 4096 null null
Serbian (Cyrillic) null sr-Cyrl 27674 null null
Serbian (Cyrillic) Bosnia and Herzegovina sr-Cyrl-BA 7194 null null
Serbian (Cyrillic) Montenegro sr-Cyrl-ME 12314 null null
Serbian (Cyrillic) Serbia sr-Cyrl-RS 10266 null null
Serbian (Cyrillic) Serbia and Montenegro (Former) sr-Cyrl-CS 3098 null null
Serbian (Latin) null sr-Latn 28698 null null
Serbian (Latin) null sr 31770 null null
Serbian (Latin) Bosnia and Herzegovina sr-Latn-BA 6170 null null
Serbian (Latin) Montenegro sr-Latn-ME 11290 null null
Serbian (Latin) Serbia sr-Latn-RS 9242 null null
Serbian (Latin) Serbia and Montenegro (Former) sr-Latn-CS 2074 null null
Sesotho sa Leboa null nso 108 null null
Sesotho sa Leboa South Africa nso-ZA 1132 null null
Setswana null tn 50 null null
Setswana Botswana tn-BW 2098 null null
Setswana South Africa tn-ZA 1074 null null
Shambala null ksb 4096 null null
Shambala Tanzania ksb-TZ 4096 null null
Shona null sn 4096 sna sn
Shona Latin sn-Latn 4096 sna sn
Shona Zimbabwe sn-Latn-ZW 4096 sna sn
Sindhi null sd 89 snd sd
Sindhi null sd-Arab 31833 snd sd
Sindhi Islamic Republic of Pakistan sd-Arab-PK 2137 snd sd
Sinhala null si 91 sin si
Sinhala Sri Lanka si-LK 1115 sin si
Slovak null sk 27 slo/slk sk
Slovak Slovakia sk-SK 1051 slo/slk sk
Slovenian null sl 36 slv sl
Slovenian Slovenia sl-SI 1060 slv sl
Soga null xog 4096 null null
Soga Uganda xog-UG 4096 null null
Somali null so 119 som so
Somali Djibouti so-DJ 4096 som so
Somali Ethiopia so-ET 4096 som so
Somali Kenya so-KE 4096 som so
Somali Somalia so-SO 1143 som so
Sotho null st 48 null null
Sotho South Africa st-ZA 1072 null null
South Ndebele null nr 4096 nbl nr
South Ndebele South Africa nr-ZA 4096 nbl nr
Southern Sotho Lesotho st-LS 4096 null null
Spanish null es 10 spa es
Spanish Argentina es-AR 11274 spa es
Spanish Belize es-BZ 4096 spa es
Spanish Bolivarian Republic of Venezuela es-VE 8202 spa es
Spanish Bolivia es-BO 16394 spa es
Spanish Brazil es-BR 4096 spa es
Spanish Chile es-CL 13322 spa es
Spanish Colombia es-CO 9226 spa es
Spanish Costa Rica es-CR 5130 spa es
Spanish Cuba es-CU 23562 spa es
Spanish Dominican Republic es-DO 7178 spa es
Spanish Ecuador es-EC 12298 spa es
Spanish El Salvador es-SV 17418 spa es
Spanish Equatorial Guinea es-GQ 4096 spa es
Spanish Guatemala es-GT 4106 spa es
Spanish Honduras es-HN 18442 spa es
Spanish Latin America es-419 22538 spa es
Spanish Mexico es-MX 2058 spa es
Spanish Nicaragua es-NI 19466 spa es
Spanish Panama es-PA 6154 spa es
Spanish Paraguay es-PY 15370 spa es
Spanish Peru es-PE 10250 spa es
Spanish Philippines es-PH 4096 spa es
Spanish Puerto Rico es-PR 20490 spa es
Spanish Spain es-ES_tradnl 1034 spa es
Spanish Spain es-ES 3082 spa es
Spanish United States es-US 21514 spa es
Spanish Uruguay es-UY 14346 spa es
Standard Moroccan null zgh 4096 null null
Standard Moroccan Morocco zgh-Tfng-MA 4096 null null
Standard Moroccan Tifinagh zgh-Tfng 4096 null null
Swati null ss 4096 ssw ss
Swati South Africa ss-ZA 4096 ssw ss
Swati Swaziland ss-SZ 4096 ssw ss
Swedish null sv 29 swe sv
Swedish Åland Islands sv-AX 4096 swe sv
Swedish Finland sv-FI 2077 swe sv
Swedish Sweden sv-SE 1053 swe sv
Syriac null syr 90 syr null
Syriac Syria syr-SY 1114 syr null
Tachelhit null shi 4096 null null
Tachelhit Tifinagh shi-Tfng 4096 null null
Tachelhit Tifinagh, Morocco shi-Tfng-MA 4096 null null
Tachelhit (Latin) null shi-Latn 4096 null null
Tachelhit (Latin) Morocco shi-Latn-MA 4096 null null
Taita null dav 4096 null null
Taita Kenya dav-KE 4096 null null
Tajik (Cyrillic) null tg 40 null null
Tajik (Cyrillic) null tg-Cyrl 31784 null null
Tajik (Cyrillic) Tajikistan tg-Cyrl-TJ 1064 null null
Tamazight (Latin) null tzm 95 null null
Tamazight (Latin) null tzm-Latn 31839 null null
Tamazight (Latin) Algeria tzm-Latn-DZ 2143 null null
Tamil null ta 73 tam ta
Tamil India ta-IN 1097 tam ta
Tamil Malaysia ta-MY 4096 tam ta
Tamil Singapore ta-SG 4096 tam ta
Tamil Sri Lanka ta-LK 2121 tam ta
Tasawaq null twq 4096 null null
Tasawaq Niger twq-NE 4096 null null
Tatar null tt 68 tat tt
Tatar Russia tt-RU 1092 tat tt
Telugu null te 74 tel te
Telugu India te-IN 1098 tel te
Teso null teo 4096 null null
Teso Kenya teo-KE 4096 null null
Teso Uganda teo-UG 4096 null null
Thai null th 30 tha th
Thai Thailand th-TH 1054 tha th
Tibetan null bo 81 tib/bod bo
Tibetan India bo-IN 4096 tib/bod bo
Tibetan People's Republic of China bo-CN 1105 tib/bod bo
Tigre null tig 4096 tig null
Tigre Eritrea tig-ER 4096 tig null
Tigrinya null ti 115 tir ti
Tigrinya Eritrea ti-ER 2163 tir ti
Tigrinya Ethiopia ti-ET 1139 tir ti
Tongan null to 4096 null null
Tongan Tonga to-TO 4096 null null
Tsonga null ts 49 tso ts
Tsonga South Africa ts-ZA 1073 tso ts
Turkish null tr 31 tur tr
Turkish Cyprus tr-CY 4096 tur tr
Turkish Turkey tr-TR 1055 tur tr
Turkmen null tk 66 tuk tk
Turkmen Turkmenistan tk-TM 1090 tuk tk
Ukrainian null uk 34 ukr uk
Ukrainian Ukraine uk-UA 1058 ukr uk
Upper Sorbian null hsb 46 hsb null
Upper Sorbian Germany hsb-DE 1070 hsb null
Urdu null ur 32 urd ur
Urdu India ur-IN 2080 urd ur
Urdu Islamic Republic of Pakistan ur-PK 1056 urd ur
Uyghur null ug 128 uig ug
Uyghur People's Republic of China ug-CN 1152 uig ug
Uzbek Perso-Arabic uz-Arab 4096 uzb uz
Uzbek Perso-Arabic, Afghanistan uz-Arab-AF 4096 uzb uz
Uzbek (Cyrillic) null uz-Cyrl 30787 null null
Uzbek (Cyrillic) Uzbekistan uz-Cyrl-UZ 2115 null null
Uzbek (Latin) null uz 67 null null
Uzbek (Latin) null uz-Latn 31811 null null
Uzbek (Latin) Uzbekistan uz-Latn-UZ 1091 null null
Vai null vai 4096 vai null
Vai null vai-Vaii 4096 vai null
Vai Liberia vai-Vaii-LR 4096 vai null
Vai (Latin) Liberia vai-Latn-LR 4096 null null
Vai (Latin) null vai-Latn 4096 null null
Valencian Spain ca-ES- 2051 cat ca
Venda null ve 51 ven ve
Venda South Africa ve-ZA 1075 ven ve
Vietnamese null vi 42 vie vi
Vietnamese Vietnam vi-VN 1066 vie vi
Volapük null vo 4096 vol vo
Volapük World vo-001 4096 vol vo
Vunjo null vun 4096 null null
Vunjo Tanzania vun-TZ 4096 null null
Walser null wae 4096 null null
Walser Switzerland wae-CH 4096 null null
Welsh null cy 82 wel/cym cy
Welsh United Kingdom cy-GB 1106 wel/cym cy
Wolaytta null wal 4096 wal null
Wolaytta Ethiopia wal-ET 4096 wal null
Wolof null wo 136 wol wo
Wolof Senegal wo-SN 1160 wol wo
Xhosa null xh 52 xho xh
Xhosa South Africa xh-ZA 1076 xho xh
Yangben null yav 4096 null null
Yangben Cameroon yav-CM 4096 null null
Yi null ii 120 null null
Yi People's Republic of China ii-CN 1144 null null
Yoruba null yo 106 yor yo
Yoruba Benin yo-BJ 4096 yor yo
Yoruba Nigeria yo-NG 1130 yor yo
Zarma null dje 4096 null null
Zarma Niger dje-NE 4096 null null
Zulu null zu 53 zul zu
Zulu South Africa zu-ZA 1077 zul zu

Tests

To run the test suite, first install the dependencies, then run test:

# NPM 
npm test
# Or Using Yarn 
yarn test

Dependencies

Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.

License

MIT © Tiago Danin

install

npm i locale-codes

Downloadsweekly downloads

151

version

1.0.1

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability