Skip to content

Instantly share code, notes, and snippets.

@yaronguez
Created February 17, 2015 01:37
Show Gist options
  • Star 49 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save yaronguez/e2d2799c67fc9cca0fa5 to your computer and use it in GitHub Desktop.
Save yaronguez/e2d2799c67fc9cca0fa5 to your computer and use it in GitHub Desktop.
Country list formatted for Advanced Custom Fields select dropdown
afghanistan : Afghanistan
albania : Albania
algeria : Algeria
american_samoa : American Samoa
andorra : Andorra
angola : Angola
anguilla : Anguilla
antigua_and_barbuda : Antigua and Barbuda
argentina : Argentina
armenia : Armenia
aruba : Aruba
australia : Australia
austria : Austria
azerbaijan : Azerbaijan
bahamas : Bahamas
bahrain : Bahrain
bangladesh : Bangladesh
barbados : Barbados
belarus : Belarus
belgium : Belgium
belize : Belize
benin : Benin
bermuda : Bermuda
bhutan : Bhutan
bolivia : Bolivia
bosnia-herzegovina : Bosnia-Herzegovina
botswana : Botswana
bouvet_island : Bouvet Island
brazil : Brazil
brunei : Brunei
bulgaria : Bulgaria
burkina_faso : Burkina Faso
burundi : Burundi
cambodia : Cambodia
cameroon : Cameroon
canada : Canada
cape_verde : Cape Verde
cayman_islands : Cayman Islands
central_african_republic : Central African Republic
chad : Chad
chile : Chile
china : China
christmas_island : Christmas Island
cocos_(keeling)_islands : Cocos (Keeling) Islands
colombia : Colombia
comoros : Comoros
congo,_democratic_republic_of_the_(zaire) : Congo, Democratic Republic of the (Zaire)
congo,_republic_of : Congo, Republic of
cook_islands : Cook Islands
costa_rica : Costa Rica
croatia : Croatia
cuba : Cuba
cyprus : Cyprus
czech_republic : Czech Republic
denmark : Denmark
djibouti : Djibouti
dominica : Dominica
dominican_republic : Dominican Republic
ecuador : Ecuador
egypt : Egypt
el_salvador : El Salvador
equatorial_guinea : Equatorial Guinea
eritrea : Eritrea
estonia : Estonia
ethiopia : Ethiopia
falkland_islands : Falkland Islands
faroe_islands : Faroe Islands
fiji : Fiji
finland : Finland
france : France
french_guiana : French Guiana
gabon : Gabon
gambia : Gambia
georgia : Georgia
germany : Germany
ghana : Ghana
gibraltar : Gibraltar
greece : Greece
greenland : Greenland
grenada : Grenada
guadeloupe_(french) : Guadeloupe (French)
guam_(usa) : Guam (USA)
guatemala : Guatemala
guinea : Guinea
guinea_bissau : Guinea Bissau
guyana : Guyana
haiti : Haiti
holy_see : Holy See
honduras : Honduras
hong_kong : Hong Kong
hungary : Hungary
iceland : Iceland
india : India
indonesia : Indonesia
iran : Iran
iraq : Iraq
ireland : Ireland
israel : Israel
italy : Italy
ivory_coast_(cote_d`ivoire) : Ivory Coast (Cote D`Ivoire)
jamaica : Jamaica
japan : Japan
jordan : Jordan
kazakhstan : Kazakhstan
kenya : Kenya
kiribati : Kiribati
kuwait : Kuwait
kyrgyzstan : Kyrgyzstan
laos : Laos
latvia : Latvia
lebanon : Lebanon
lesotho : Lesotho
liberia : Liberia
libya : Libya
liechtenstein : Liechtenstein
lithuania : Lithuania
luxembourg : Luxembourg
macau : Macau
macedonia : Macedonia
madagascar : Madagascar
malawi : Malawi
malaysia : Malaysia
maldives : Maldives
mali : Mali
malta : Malta
marshall_islands : Marshall Islands
martinique_(french) : Martinique (French)
mauritania : Mauritania
mauritius : Mauritius
mayotte : Mayotte
mexico : Mexico
micronesia : Micronesia
moldova : Moldova
monaco : Monaco
mongolia : Mongolia
montenegro : Montenegro
montserrat : Montserrat
morocco : Morocco
mozambique : Mozambique
myanmar : Myanmar
namibia : Namibia
nauru : Nauru
nepal : Nepal
netherlands : Netherlands
netherlands_antilles : Netherlands Antilles
new_caledonia_(french) : New Caledonia (French)
new_zealand : New Zealand
nicaragua : Nicaragua
niger : Niger
nigeria : Nigeria
niue : Niue
norfolk_island : Norfolk Island
north_korea : North Korea
northern_mariana_islands : Northern Mariana Islands
norway : Norway
oman : Oman
pakistan : Pakistan
palau : Palau
panama : Panama
papua_new_guinea : Papua New Guinea
paraguay : Paraguay
peru : Peru
philippines : Philippines
pitcairn_island : Pitcairn Island
poland : Poland
polynesia_(french) : Polynesia (French)
portugal : Portugal
puerto_rico : Puerto Rico
qatar : Qatar
reunion : Reunion
romania : Romania
russia : Russia
rwanda : Rwanda
saint_helena : Saint Helena
saint_kitts_and_nevis : Saint Kitts and Nevis
saint_lucia : Saint Lucia
saint_pierre_and_miquelon : Saint Pierre and Miquelon
saint_vincent_and_grenadines : Saint Vincent and Grenadines
samoa : Samoa
san_marino : San Marino
sao_tome_and_principe : Sao Tome and Principe
saudi_arabia : Saudi Arabia
senegal : Senegal
serbia : Serbia
seychelles : Seychelles
sierra_leone : Sierra Leone
singapore : Singapore
slovakia : Slovakia
slovenia : Slovenia
solomon_islands : Solomon Islands
somalia : Somalia
south_africa : South Africa
south_georgia_and_south_sandwich_islands : South Georgia and South Sandwich Islands
south_korea : South Korea
south_sudan : South Sudan
spain : Spain
sri_lanka : Sri Lanka
sudan : Sudan
suriname : Suriname
svalbard_and_jan_mayen_islands : Svalbard and Jan Mayen Islands
swaziland : Swaziland
sweden : Sweden
switzerland : Switzerland
syria : Syria
taiwan : Taiwan
tajikistan : Tajikistan
tanzania : Tanzania
thailand : Thailand
timor-leste_(east_timor) : Timor-Leste (East Timor)
togo : Togo
tokelau : Tokelau
tonga : Tonga
trinidad_and_tobago : Trinidad and Tobago
tunisia : Tunisia
turkey : Turkey
turkmenistan : Turkmenistan
turks_and_caicos_islands : Turks and Caicos Islands
tuvalu : Tuvalu
uganda : Uganda
ukraine : Ukraine
united_arab_emirates : United Arab Emirates
united_kingdom : United Kingdom
united_states : United States
uruguay : Uruguay
uzbekistan : Uzbekistan
vanuatu : Vanuatu
venezuela : Venezuela
vietnam : Vietnam
virgin_islands : Virgin Islands
wallis_and_futuna_islands : Wallis and Futuna Islands
yemen : Yemen
zambia : Zambia
zimbabwe : Zimbabwe
@jeffreyd00
Copy link

Thanks! Here is a list of the all states in the united states

AL : Alabama
AK : Alaska
AZ : Arizona
AR : Arkansas
CA : California
CO : Colorado
CT : Connecticut
DE : Delaware
DC : District of Columbia
FL : Florida
GA : Georgia
HI : Hawaii
ID : Idaho
IL : Illinois
IN : Indiana
IA : Iowa
KS : Kansas
KY : Kentucky
LA : Louisiana
ME : Maine
MD : Maryland
MA : Massachusetts
MI : Michigan
MN : Minnesota
MS : Mississippi
MO : Missouri
MT : Montana
NE : Nebraska
NV : Nevada
NH : New Hampshire
NJ : New Jersey
NM : New Mexico
NY : New York
NC : North Carolina
ND : North Dakota
OH : Ohio
OK : Oklahoma
OR : Oregon
PA : Pennsylvania
RI : Rhode Island
SC : South Carolina
SD : South Dakota
TN : Tennessee
TX : Texas
UT : Utah
VT : Vermont
VA : Virginia
WA : Washington
WV : West Virginia
WI : Wisconsin
WY : Wyoming

@ridinghoodmedia
Copy link

Thanks! Here are the Canadian Provinces

AB : Alberta
BC : British Columbia
MB : Manitoba
NB : New Brunswick
NL : Newfoundland and Labrador
NT : Northwest Territories
NS : Nova Scotia
NU : Nunavut
ON : Ontario
PE : Prince Edward Island
QC : Quebec
SK : Saskatchewan
YT : Yukon

@burnified
Copy link

and just like that, you guys save the day. +1

@lawlessmedia
Copy link

US states with full state names as the values

Alabama : Alabama
Alaska : Alaska
Arizona : Arizona
Arkansas : Arkansas
California : California
Colorado : Colorado
Connecticut : Connecticut
Delaware : Delaware
District of Columbia : District of Columbia
Florida : Florida
Georgia : Georgia
Hawaii : Hawaii
Idaho : Idaho
Illinois : Illinois
Indiana : Indiana
Iowa : Iowa
Kansas : Kansas
Kentucky : Kentucky
Louisiana : Louisiana
Maine : Maine
Maryland : Maryland
Massachusetts : Massachusetts
Michigan : Michigan
Minnesota : Minnesota
Mississippi : Mississippi
Missouri : Missouri
Montana : Montana
Nebraska : Nebraska
Nevada : Nevada
New Hampshire : New Hampshire
New Jersey : New Jersey
New Mexico : New Mexico
New York : New York
North Carolina : North Carolina
North Dakota : North Dakota
Ohio : Ohio
Oklahoma : Oklahoma
Oregon : Oregon
Pennsylvania : Pennsylvania
Rhode Island : Rhode Island
South Carolina : South Carolina
South Dakota : South Dakota
Tennessee : Tennessee
Texas : Texas
Utah : Utah
Vermont : Vermont
Virginia : Virginia
Washington : Washington
West Virginia : West Virginia
Wisconsin : Wisconsin
Wyoming : Wyoming

@Tommy-b
Copy link

Tommy-b commented Sep 9, 2016

THANK YOU! Also for anyone needing it, Here is the country list using ISO Alpha-3 codes

AFG : Afghanistan
ALA : Åland Islands
ALB : Albania
DZA : Algeria
ASM : American Samoa
AND : Andorra
AGO : Angola
AIA : Anguilla
ATA : Antarctica
ATG : Antigua and Barbuda
ARG : Argentina
ARM : Armenia
ABW : Aruba
AUS : Australia
AUT : Austria
AZE : Azerbaijan
BHS : Bahamas
BHR : Bahrain
BGD : Bangladesh
BRB : Barbados
BLR : Belarus
BEL : Belgium
BLZ : Belize
BEN : Benin
BMU : Bermuda
BTN : Bhutan
BOL : Bolivia, Plurinational State of
BES : Bonaire, Sint Eustatius and Saba
BIH : Bosnia and Herzegovina
BWA : Botswana
BVT : Bouvet Island
BRA : Brazil
IOT : British Indian Ocean Territory
BRN : Brunei Darussalam
BGR : Bulgaria
BFA : Burkina Faso
BDI : Burundi
KHM : Cambodia
CMR : Cameroon
CAN : Canada
CPV : Cape Verde
CYM : Cayman Islands
CAF : Central African Republic
TCD : Chad
CHL : Chile
CHN : China
CXR : Christmas Island
CCK : Cocos (Keeling) Islands
COL : Colombia
COM : Comoros
COG : Congo
COD : Congo, the Democratic Republic of the
COK : Cook Islands
CRI : Costa Rica
CIV : Côte d'Ivoire
HRV : Croatia
CUB : Cuba
CUW : Curaçao
CYP : Cyprus
CZE : Czech Republic
DNK : Denmark
DJI : Djibouti
DMA : Dominica
DOM : Dominican Republic
ECU : Ecuador
EGY : Egypt
SLV : El Salvador
GNQ : Equatorial Guinea
ERI : Eritrea
EST : Estonia
ETH : Ethiopia
FLK : Falkland Islands (Malvinas)
FRO : Faroe Islands
FJI : Fiji
FIN : Finland
FRA : France
GUF : French Guiana
PYF : French Polynesia
ATF : French Southern Territories
GAB : Gabon
GMB : Gambia
GEO : Georgia
DEU : Germany
GHA : Ghana
GIB : Gibraltar
GRC : Greece
GRL : Greenland
GRD : Grenada
GLP : Guadeloupe
GUM : Guam
GTM : Guatemala
GGY : Guernsey
GIN : Guinea
GNB : Guinea-Bissau
GUY : Guyana
HTI : Haiti
HMD : Heard Island and McDonald Islands
VAT : Holy See (Vatican City State)
HND : Honduras
HKG : Hong Kong
HUN : Hungary
ISL : Iceland
IND : India
IDN : Indonesia
IRN : Iran, Islamic Republic of
IRQ : Iraq
IRL : Ireland
IMN : Isle of Man
ISR : Israel
ITA : Italy
JAM : Jamaica
JPN : Japan
JEY : Jersey
JOR : Jordan
KAZ : Kazakhstan
KEN : Kenya
KIR : Kiribati
PRK : Korea, Democratic People's Republic of
KOR : Korea, Republic of
KWT : Kuwait
KGZ : Kyrgyzstan
LAO : Lao People's Democratic Republic
LVA : Latvia
LBN : Lebanon
LSO : Lesotho
LBR : Liberia
LBY : Libya
LIE : Liechtenstein
LTU : Lithuania
LUX : Luxembourg
MAC : Macao
MKD : Macedonia, the former Yugoslav Republic of
MDG : Madagascar
MWI : Malawi
MYS : Malaysia
MDV : Maldives
MLI : Mali
MLT : Malta
MHL : Marshall Islands
MTQ : Martinique
MRT : Mauritania
MUS : Mauritius
MYT : Mayotte
MEX : Mexico
FSM : Micronesia, Federated States of
MDA : Moldova, Republic of
MCO : Monaco
MNG : Mongolia
MNE : Montenegro
MSR : Montserrat
MAR : Morocco
MOZ : Mozambique
MMR : Myanmar
NAM : Namibia
NRU : Nauru
NPL : Nepal
NLD : Netherlands
NCL : New Caledonia
NZL : New Zealand
NIC : Nicaragua
NER : Niger
NGA : Nigeria
NIU : Niue
NFK : Norfolk Island
MNP : Northern Mariana Islands
NOR : Norway
OMN : Oman
PAK : Pakistan
PLW : Palau
PSE : Palestinian Territory, Occupied
PAN : Panama
PNG : Papua New Guinea
PRY : Paraguay
PER : Peru
PHL : Philippines
PCN : Pitcairn
POL : Poland
PRT : Portugal
PRI : Puerto Rico
QAT : Qatar
REU : Réunion
ROU : Romania
RUS : Russian Federation
RWA : Rwanda
BLM : Saint Barthélemy
SHN : Saint Helena, Ascension and Tristan da Cunha
KNA : Saint Kitts and Nevis
LCA : Saint Lucia
MAF : Saint Martin (French part)
SPM : Saint Pierre and Miquelon
VCT : Saint Vincent and the Grenadines
WSM : Samoa
SMR : San Marino
STP : Sao Tome and Principe
SAU : Saudi Arabia
SEN : Senegal
SRB : Serbia
SYC : Seychelles
SLE : Sierra Leone
SGP : Singapore
SXM : Sint Maarten (Dutch part)
SVK : Slovakia
SVN : Slovenia
SLB : Solomon Islands
SOM : Somalia
ZAF : South Africa
SGS : South Georgia and the South Sandwich Islands
SSD : South Sudan
ESP : Spain
LKA : Sri Lanka
SDN : Sudan
SUR : Suriname
SJM : Svalbard and Jan Mayen
SWZ : Swaziland
SWE : Sweden
CHE : Switzerland
SYR : Syrian Arab Republic
TWN : Taiwan, Province of China
TJK : Tajikistan
TZA : Tanzania, United Republic of
THA : Thailand
TLS : Timor-Leste
TGO : Togo
TKL : Tokelau
TON : Tonga
TTO : Trinidad and Tobago
TUN : Tunisia
TUR : Turkey
TKM : Turkmenistan
TCA : Turks and Caicos Islands
TUV : Tuvalu
UGA : Uganda
UKR : Ukraine
ARE : United Arab Emirates
GBR : United Kingdom
USA : United States
UMI : United States Minor Outlying Islands
URY : Uruguay
UZB : Uzbekistan
VUT : Vanuatu
VEN : Venezuela, Bolivarian Republic of
VNM : Viet Nam
VGB : Virgin Islands, British
VIR : Virgin Islands, U.S.
WLF : Wallis and Futuna
ESH : Western Sahara
YEM : Yemen
ZMB : Zambia
ZWE : Zimbabwe

@nlemoine
Copy link

nlemoine commented Jan 8, 2017

Or you can use a country field: https://github.com/nlemoine/acf-country ;)

@betoarpi
Copy link

Here's one for all States in Mexico

aguascalientes : Aguascalientes
baja_california : Baja California
baja_california sur : Baja California Sur
campeche : Campeche
chiapas : Chiapas
chihuahua : Chihuahua
ciudad_de_mexico : Ciudad de México
coahuila : Coahuila
colima : Colima
durango : Durango
estado_de_mexico : Estado de México
guanajuato : Guanajuato
guerrero : Guerrero
hidalgo : Hidalgo
jalisco : Jalisco
michoacan : Michoacán
morelos : Morelos
nayarit : Nayarit
nuevo_leon : Nuevo León
oaxaca : Oaxaca
puebla : Puebla
queretaro : Querétaro
quintana_roo : Quintana Roo
san_luis_potosi : San Luis Potosí
sinaloa : Sinaloa
sonora : Sonora
tabasco : Tabasco
tamaulipas : Tamaulipas
tlaxcala : Tlaxcala
veracruz : Veracruz
yucatan : Yucatán
zacatecas : Zacatecas

@benloeffel
Copy link

Here's a list of countries with ISO alpha-2 codes as the value:

AF : Afghanistan
AX : Åland Islands
AL : Albania
DZ : Algeria
AS : American Samoa
AD : Andorra
AO : Angola
AI : Anguilla
AQ : Antarctica
AG : Antigua and Barbuda
AR : Argentina
AM : Armenia
AW : Aruba
AU : Australia
AT : Austria
AZ : Azerbaijan
BH : Bahrain
BS : Bahamas
BD : Bangladesh
BB : Barbados
BY : Belarus
BE : Belgium
BZ : Belize
BJ : Benin
BM : Bermuda
BT : Bhutan
BO : Bolivia, Plurinational State of
BQ : Bonaire, Sint Eustatius and Saba
BA : Bosnia and Herzegovina
BW : Botswana
BV : Bouvet Island
BR : Brazil
IO : British Indian Ocean Territory
BN : Brunei Darussalam
BG : Bulgaria
BF : Burkina Faso
BI : Burundi
KH : Cambodia
CM : Cameroon
CA : Canada
CV : Cape Verde
KY : Cayman Islands
CF : Central African Republic
TD : Chad
CL : Chile
CN : China
CX : Christmas Island
CC : Cocos (Keeling) Islands
CO : Colombia
KM : Comoros
CG : Congo
CD : Congo, the Democratic Republic of the
CK : Cook Islands
CR : Costa Rica
CI : Côte d'Ivoire
HR : Croatia
CU : Cuba
CW : Curaçao
CY : Cyprus
CZ : Czech Republic
DK : Denmark
DJ : Djibouti
DM : Dominica
DO : Dominican Republic
EC : Ecuador
EG : Egypt
SV : El Salvador
GQ : Equatorial Guinea
ER : Eritrea
EE : Estonia
ET : Ethiopia
FK : Falkland Islands (Malvinas)
FO : Faroe Islands
FJ : Fiji
FI : Finland
FR : France
GF : French Guiana
PF : French Polynesia
TF : French Southern Territories
GA : Gabon
GM : Gambia
GE : Georgia
DE : Germany
GH : Ghana
GI : Gibraltar
GR : Greece
GL : Greenland
GD : Grenada
GP : Guadeloupe
GU : Guam
GT : Guatemala
GG : Guernsey
GN : Guinea
GW : Guinea-Bissau
GY : Guyana
HT : Haiti
HM : Heard Island and McDonald Islands
VA : Holy See (Vatican City State)
HN : Honduras
HK : Hong Kong
HU : Hungary
IS : Iceland
IN : India
ID : Indonesia
IR : Iran, Islamic Republic of
IQ : Iraq
IE : Ireland
IM : Isle of Man
IL : Israel
IT : Italy
JM : Jamaica
JP : Japan
JE : Jersey
JO : Jordan
KZ : Kazakhstan
KE : Kenya
KI : Kiribati
KP : Korea, Democratic People's Republic of
KR : Korea, Republic of
KW : Kuwait
KG : Kyrgyzstan
LA : Lao People's Democratic Republic
LV : Latvia
LB : Lebanon
LS : Lesotho
LR : Liberia
LY : Libya
LI : Liechtenstein
LT : Lithuania
LU : Luxembourg
MO : Macao
MK : Macedonia, the Former Yugoslav Republic of
MG : Madagascar
MW : Malawi
MY : Malaysia
MV : Maldives
ML : Mali
MT : Malta
MH : Marshall Islands
MQ : Martinique
MR : Mauritania
MU : Mauritius
YT : Mayotte
MX : Mexico
FM : Micronesia, Federated States of
MD : Moldova, Republic of
MC : Monaco
MN : Mongolia
ME : Montenegro
MS : Montserrat
MA : Morocco
MZ : Mozambique
MM : Myanmar
NA : Namibia
NR : Nauru
NP : Nepal
NL : Netherlands
NC : New Caledonia
NZ : New Zealand
NI : Nicaragua
NE : Niger
NG : Nigeria
NU : Niue
NF : Norfolk Island
MP : Northern Mariana Islands
NO : Norway
OM : Oman
PK : Pakistan
PW : Palau
PS : Palestine, State of
PA : Panama
PG : Papua New Guinea
PY : Paraguay
PE : Peru
PH : Philippines
PN : Pitcairn
PL : Poland
PT : Portugal
PR : Puerto Rico
QA : Qatar
RE : Réunion
RO : Romania
RU : Russian Federation
RW : Rwanda
BL : Saint Barthélemy
SH : Saint Helena, Ascension and Tristan da Cunha
KN : Saint Kitts and Nevis
LC : Saint Lucia
MF : Saint Martin (French part)
PM : Saint Pierre and Miquelon
VC : Saint Vincent and the Grenadines
WS : Samoa
SM : San Marino
ST : Sao Tome and Principe
SA : Saudi Arabia
SN : Senegal
RS : Serbia
SC : Seychelles
SL : Sierra Leone
SG : Singapore
SX : Sint Maarten (Dutch part)
SK : Slovakia
SI : Slovenia
SB : Solomon Islands
SO : Somalia
ZA : South Africa
GS : South Georgia and the South Sandwich Islands
SS : South Sudan
ES : Spain
LK : Sri Lanka
SD : Sudan
SR : Suriname
SJ : Svalbard and Jan Mayen
SZ : Swaziland
SE : Sweden
CH : Switzerland
SY : Syrian Arab Republic
TW : Taiwan, Province of China
TJ : Tajikistan
TZ : Tanzania, United Republic of
TH : Thailand
TL : Timor-Leste
TG : Togo
TK : Tokelau
TO : Tonga
TT : Trinidad and Tobago
TN : Tunisia
TR : Turkey
TM : Turkmenistan
TC : Turks and Caicos Islands
TV : Tuvalu
UG : Uganda
UA : Ukraine
AE : United Arab Emirates
GB : United Kingdom
US : United States
UM : United States Minor Outlying Islands
UY : Uruguay
UZ : Uzbekistan
VU : Vanuatu
VE : Venezuela, Bolivarian Republic of
VN : Viet Nam
VG : Virgin Islands, British
VI : Virgin Islands, U.S.
WF : Wallis and Futuna
EH : Western Sahara
YE : Yemen
ZM : Zambia
ZW : Zimbabwe

@dospuntocero
Copy link

chilean regions using national codes
AI:Aysén del General Carlos Ibáñez del Campo
AN:Antofagasta
AP:Arica y Parinacota
AR:Araucanía
AT:Atacama
BI:Biobío
CO:Coquimbo
OH:Libertador General Bernardo O'Higgins
LL:Los Lagos
LR:Los Ríos
MG:Magallanes y la Antártica Chilena
MA:Maule
RM:Metropolitana de Santiago
NB:Ñuble
TA:Tarapacá
VA:Valparaíso

and using ISO code

CL-AI:Aysén del General Carlos Ibáñez del Campo
CL-AN:Antofagasta
CL-AP:Arica y Parinacota
CL-AR:Araucanía
CL-AT:Atacama
CL-BI:Biobío
CL-CO:Coquimbo
CL-LI:Libertador General Bernardo O'Higgins
CL-LL:Los Lagos
CL-LR:Los Ríos
CL-MA:Magallanes y la Antártica Chilena
CL-ML:Maule
CL-RM:Metropolitana de Santiago
CL-NB:Ñuble
CL-TA:Tarapacá
CL-VS:Valparaíso

@pkiula
Copy link

pkiula commented Jul 29, 2019

By any chance is it possible to have these auto-select continent?

@deividas-pelakauskas
Copy link

ISO-3166-1: Numeric Codes
4 : Afghanistan
248 : Aland Islands
8 : Albania
12 : Algeria
16 : American Samoa
20 : Andorra
24 : Angola
660 : Anguilla
10 : Antarctica
28 : Antigua and Barbuda
32 : Argentina
51 : Armenia
533 : Aruba
36 : Australia
40 : Austria
31 : Azerbaijan
44 : Bahamas
48 : Bahrain
50 : Bangladesh
52 : Barbados
112 : Belarus
56 : Belgium
84 : Belize
204 : Benin
60 : Bermuda
64 : Bhutan
68 : Bolivia, Plurinational State of
535 : Bonaire, Sint Eustatius and Saba
70 : Bosnia and Herzegovina
72 : Botswana
74 : Bouvet Island
76 : Brazil
86 : British Indian Ocean Territory
96 : Brunei Darussalam
100 : Bulgaria
854 : Burkina Faso
108 : Burundi
116 : Cambodia
120 : Cameroon
124 : Canada
132 : Cape Verde
136 : Cayman Islands
140 : Central African Republic
148 : Chad
152 : Chile
156 : China
162 : Christmas Island
166 : Cocos (Keeling) Islands
170 : Colombia
174 : Comoros
178 : Congo
180 : Congo, the Democratic Republic of the
184 : Cook Islands
188 : Costa Rica
384 : Côte d'Ivoire
191 : Croatia
192 : Cuba
531 : Curaçao
196 : Cyprus
203 : Czech Republic
208 : Denmark
262 : Djibouti
212 : Dominica
214 : Dominican Republic
218 : Ecuador
818 : Egypt
222 : El Salvador
226 : Equatorial Guinea
232 : Eritrea
233 : Estonia
231 : Ethiopia
238 : Falkland Islands (Malvinas)
234 : Faroe Islands
242 : Fiji
246 : Finland
250 : France
254 : French Guiana
258 : French Polynesia
260 : French Southern Territories
266 : Gabon
270 : Gambia
268 : Georgia
276 : Germany
288 : Ghana
292 : Gibraltar
300 : Greece
304 : Greenland
308 : Grenada
312 : Guadeloupe
316 : Guam
320 : Guatemala
831 : Guernsey
324 : Guinea
624 : Guinea-Bissau
328 : Guyana
332 : Haiti
334 : Heard Island and McDonald Islands
336 : Holy See (Vatican City State)
340 : Honduras
344 : Hong Kong
348 : Hungary
352 : Iceland
356 : India
360 : Indonesia
364 : Iran, Islamic Republic of
368 : Iraq
372 : Ireland
833 : Isle of Man
376 : Israel
380 : Italy
388 : Jamaica
392 : Japan
832 : Jersey
400 : Jordan
398 : Kazakhstan
404 : Kenya
296 : Kiribati
408 : North Korea
410 : South Korea
414 : Kuwait
417 : Kyrgyzstan
418 : Lao People's Democratic Republic
428 : Latvia
422 : Lebanon
426 : Lesotho
430 : Liberia
434 : Libya
438 : Liechtenstein
440 : Lithuania
442 : Luxembourg
446 : Macao
807 : Macedonia, the former Yugoslav Republic of
450 : Madagascar
454 : Malawi
458 : Malaysia
462 : Maldives
466 : Mali
470 : Malta
584 : Marshall Islands
474 : Martinique
478 : Mauritania
480 : Mauritius
175 : Mayotte
484 : Mexico
583 : Micronesia, Federated States of
498 : Moldova, Republic of
492 : Monaco
496 : Mongolia
499 : Montenegro
500 : Montserrat
504 : Morocco
508 : Mozambique
104 : Myanmar
516 : Namibia
520 : Nauru
524 : Nepal
528 : Netherlands
540 : New Caledonia
554 : New Zealand
558 : Nicaragua
562 : Niger
566 : Nigeria
570 : Niue
574 : Norfolk Island
580 : Northern Mariana Islands
578 : Norway
512 : Oman
586 : Pakistan
585 : Palau
275 : Palestinian Territory, Occupied
591 : Panama
598 : Papua New Guinea
600 : Paraguay
604 : Peru
608 : Philippines
612 : Pitcairn
616 : Poland
620 : Portugal
630 : Puerto Rico
634 : Qatar
638 : Réunion
642 : Romania
643 : Russian Federation
646 : Rwanda
652 : Saint Barthélemy
654 : Saint Helena, Ascension and Tristan da Cunha
659 : Saint Kitts and Nevis
662 : Saint Lucia
663 : Saint Martin (French part)
666 : Saint Pierre and Miquelon
670 : Saint Vincent and the Grenadines
882 : Samoa
674 : San Marino
678 : Sao Tome and Principe
682 : Saudi Arabia
686 : Senegal
688 : Serbia
690 : Seychelles
694 : Sierra Leone
702 : Singapore
534 : Sint Maarten (Dutch part)
703 : Slovakia
705 : Slovenia
90 : Solomon Islands
706 : Somalia
710 : South Africa
239 : South Georgia and the South Sandwich Islands
728 : South Sudan
724 : Spain
144 : Sri Lanka
729 : Sudan
740 : Suriname
744 : Svalbard and Jan Mayen
748 : Swaziland
752 : Sweden
756 : Switzerland
760 : Syrian Arab Republic
158 : Taiwan, Province of China
762 : Tajikistan
834 : Tanzania, United Republic of
764 : Thailand
626 : Timor-Leste
768 : Togo
772 : Tokelau
776 : Tonga
780 : Trinidad and Tobago
788 : Tunisia
792 : Turkey
795 : Turkmenistan
796 : Turks and Caicos Islands
798 : Tuvalu
800 : Uganda
804 : Ukraine
784 : United Arab Emirates
826 : United Kingdom
840 : United States
581 : United States Minor Outlying Islands
858 : Uruguay
860 : Uzbekistan
548 : Vanuatu
862 : Venezuela, Bolivarian Republic of
704 : Viet Nam
92 : Virgin Islands, British
850 : Virgin Islands, U.S.
876 : Wallis and Futuna
732 : Western Sahara
887 : Yemen
894 : Zambia
716 : Zimbabwe

@baannng
Copy link

baannng commented Oct 1, 2021

Hi.
Here is the Country List translated into Portuguese, based on the European "List of countries, territories and currencies".

afeganistao : Afeganistão
africa-do-sul : África do Sul
alanda : Alanda
albania : Albânia
alemanha : Alemanha
andorra : Andorra
angola : Angola
anguila : Anguila
antartida : Antártida
antigua-e-barbuda : Antígua e Barbuda
arabia-saudita : Arábia Saudita
argelia : Argélia
argentina : Argentina
armenia : Arménia
aruba : Aruba
australia : Austrália
austria : Áustria
azerbaijao : Azerbaijão
baamas : Baamas
bangladexe : Bangladexe
barbados : Barbados
barem : Barém
belgica : Bélgica
belize : Belize
benim : Benim
bermudas : Bermudas
bielorrussia : Bielorrússia
birmania : Birmânia
bolivia : Bolívia
bosnia-herzegovina : Bósnia-Herzegovina
botsuana : Botsuana
brasil : Brasil
brunei : Brunei
bulgaria : Bulgária
burquina-fasso : Burquina Fasso
burundi : Burundi
butao : Butão
cabo-verde : Cabo Verde
camarões : Camarões
camboja : Camboja
canada : Canadá
catar : Catar
cazaquistao : Cazaquistão
chade : Chade
chequia : Chéquia
chile : Chile
china : China
chipre : Chipre
clipperton : Clipperton
colombia : Colômbia
comores : Comores
congo : Congo
coreia-do-norte : Coreia do Norte
coreia-do-sul : Coreia do Sul
costa-do-marfim : Costa do Marfim
costa-rica : Costa Rica
croacia : Croácia
cuba : Cuba
curacau : Curaçau
dinamarca : Dinamarca
dominica : Domínica
egito : Egito
emirados-arabes-unidos : Emirados Árabes Unidos
equador : Equador
eritreia : Eritreia
eslovaquia : Eslováquia
eslovenia : Eslovénia
espanha : Espanha
estados-unidos : Estados Unidos
estonia : Estónia
etiopia : Etiópia
fiji : Fiji
filipinas : Filipinas
finlandia : Finlândia
franca : França
gabao : Gabão
gambia : Gâmbia
gana : Gana
georgia : Geórgia
gibraltar : Gibraltar
granada : Granada
grecia : Grécia
gronelandia : Gronelândia
guadalupe : Guadalupe
guame : Guame
guatemala : Guatemala
guiana : Guiana
guiana-francesa : Guiana Francesa
guine : Guiné
guine-bissau : Guiné-Bissau
guine-equatorial : Guiné Equatorial
haiti : Haiti
honduras : Honduras
hong-kong : Hong Kong
hungria : Hungria
iemen : Iémen
ilha-bouvet : Ilha Bouvet
ilha-de-man : Ilha de Man
ilha-do-natal : Ilha do Natal
ilhas-dos-cocos : Ilhas dos Cocos
ilha-heard : Ilha Heard
ilha-norfolk : Ilha Norfolk
ilhas-caimao : Ilhas Caimão
ilhas-cook : Ilhas Cook
ilha-guernesey : Ilha Guernesey
ilhas-falkland : Ilhas Falkland
ilhas-faroe : Ilhas Faroé
ilhas-georgia-do-sul-e-sandwich-do-sul : Ilhas Geórgia do Sul e Sandwich do Sul
ilha-jersey : Ilha Jersey
ilhas-marianas-do-norte : Ilhas Marianas do Norte
ilhas-marshall : Ilhas Marshall
lhas-mcdonald : lhas McDonald
ilhas-menores-afastadas-dos-estados-unidos : Ilhas Menores Afastadas dos Estados Unidos
ilhas-pitcairn : Ilhas Pitcairn
ilhas-salomao : Ilhas Salomão
ilhas-turcas-e-caicos : Ilhas Turcas e Caicos
ilhas-virgens-americanas : Ilhas Virgens Americanas
ilhas-virgens-britanicas : Ilhas Virgens Britânicas
india : Índia
indonesia : Indonésia
irao : Irão
iraque : Iraque
irlanda : Irlanda
islandia : Islândia
israel : Israel
italia : Itália
jamaica : Jamaica
japao : Japão
jibuti : Jibuti
jordania : Jordânia
koweit : Koweit
laos : Laos
lesoto : Lesoto
letonia : Letónia
libano : Líbano
liberia : Libéria
libia : Líbia
listenstaine : Listenstaine
lituania : Lituânia
luxemburgo : Luxemburgo
macau : Macau
macedonia-do-norte : Macedónia do Norte
madagascar : Madagáscar
maiote : Maiote
malasia : Malásia
malaui : Maláui
maldivas : Maldivas
mali : Mali
malta : Malta
marrocos : Marrocos
martinica : Martinica
mauricia : Maurícia
mauritania : Mauritânia
mexico : México
micronesia : Micronésia
mocambique : Moçambique
moldavia : Moldávia
monaco : Mónaco
mongolia : Mongólia
monserrate : Monserrate
montenegro : Montenegro
namibia : Namíbia
nauru : Nauru
nepal : Nepal
nicaragua : Nicarágua
niger : Níger
nigeria : Nigéria
niue : Niuê
noruega : Noruega
nova-caledonia : Nova Caledónia
nova-zelandia : Nova Zelândia
oma : Omã
paises-baixos : Países Baixos
palau : Palau
panama : Panamá
papua-nova-guine : Papua-Nova Guiné
paquistao : Paquistão
paraguai : Paraguai
peru : Peru
polinesia-francesa : Polinésia Francesa
polonia : Polónia
porto-rico : Porto Rico
portugal : Portugal
quenia : Quénia
quirguistao : Quirguistão
quiribati : Quiribáti
reino-unido : Reino Unido
republica-centro-africana : República Centro-Africana
republica-democratica-do-congo : República Democrática do Congo
republica-dominicana : República Dominicana
reuniao : Reunião
romenia : Roménia
ruanda : Ruanda
russia : Rússia
salvador : Salvador
samoa : Samoa
samoa-americana : Samoa Americana
santa-helena-ascensao-e-tristao-da-cunha : Santa Helena, Ascensão e Tristão da Cunha
santa-lucia : Santa Lúcia
sao-bartolomeu : São Bartolomeu
sao-cristovao-e-neves : São Cristóvão e Neves
sao-marinho : São Marinho
sao-martinho : São Martinho
sao-pedro-e-miquelao : São Pedro e Miquelão
sao-tome-e-principe : São Tomé e Príncipe
sao-vicente-e-granadinas : São Vicente e Granadinas
sara-ocidental : Sara Ocidental
seicheles : Seicheles
senegal : Senegal
seri-lanca : Seri Lanca
serra-leoa : Serra Leoa
servia : Sérvia
singapura : Singapura
siria : Síria
somalia : Somália
suazilandia : Suazilândia
sudao : Sudão
sudao-do-sul : Sudão do Sul
suecia : Suécia
suica : Suíça
suriname : Suriname
svalbard-e-jan-mayen : Svalbard e Jan Mayen
tailandia : Tailândia
taiwan : Taiwan
tajiquistao : Tajiquistão
tanzania : Tanzânia
terras-austrais-e-antarticas-francesas : Terras Austrais e Antárticas Francesas
territorio-britanico-do-oceano-indico : Território Britânico do Oceano Índico
timor-leste : Timor-Leste
togo : Togo
tonga : Tonga
toquelau : Toquelau
trindade-e-tobago : Trindade e Tobago
tunisia : Tunísia
turquemenistao : Turquemenistão
turquia : Turquia
tuvalu : Tuvalu
ucrania : Ucrânia
uganda : Uganda
uruguai : Uruguai
usbequistao : Usbequistão
vanuatu : Vanuatu
vaticano : Vaticano
venezuela : Venezuela
vietname : Vietname
wallis-e-futuna : Wallis e Futuna
zambia : Zâmbia
zimbabue : Zimbabué

@jpguisa
Copy link

jpguisa commented Mar 3, 2022

Here with country code and country name

AF : Afghanistan
AX : Aland Islands
AL : Albania
DZ : Algeria
AS : American Samoa
AD : Andorra
AO : Angola
AI : Anguilla
AQ : Antarctica
AG : Antigua And Barbuda
AR : Argentina
AM : Armenia
AW : Aruba
AU : Australia
AT : Austria
AZ : Azerbaijan
BS : Bahamas
BH : Bahrain
BD : Bangladesh
BB : Barbados
BY : Belarus
BE : Belgium
BZ : Belize
BJ : Benin
BM : Bermuda
BT : Bhutan
BO : Bolivia
BA : Bosnia And Herzegovina
BW : Botswana
BV : Bouvet Island
BR : Brazil
IO : British Indian Ocean Territory
BN : Brunei Darussalam
BG : Bulgaria
BF : Burkina Faso
BI : Burundi
KH : Cambodia
CM : Cameroon
CA : Canada
CV : Cape Verde
KY : Cayman Islands
CF : Central African Republic
TD : Chad
CL : Chile
CN : China
CX : Christmas Island
CC : Cocos (Keeling) Islands
CO : Colombia
KM : Comoros
CG : Congo
CD : Congo Democratic Republic
CK : Cook Islands
CR : Costa Rica
CI : Cote D\Ivoire
HR : Croatia
CU : Cuba
CY : Cyprus
CZ : Czech Republic
DK : Denmark
DJ : Djibouti
DM : Dominica
DO : Dominican Republic
EC : Ecuador
EG : Egypt
SV : El Salvador
GQ : Equatorial Guinea
ER : Eritrea
EE : Estonia
ET : Ethiopia
FK : Falkland Islands (Malvinas)
FO : Faroe Islands
FJ : Fiji
FI : Finland
FR : France
GF : French Guiana
PF : French Polynesia
TF : French Southern Territories
GA : Gabon
GM : Gambia
GE : Georgia
DE : Germany
GH : Ghana
GI : Gibraltar
GR : Greece
GL : Greenland
GD : Grenada
GP : Guadeloupe
GU : Guam
GT : Guatemala
GG : Guernsey
GN : Guinea
GW : Guinea-Bissau
GY : Guyana
HT : Haiti
HM : Heard Island & Mcdonald Islands
VA : Holy See (Vatican City State)
HN : Honduras
HK : Hong Kong
HU : Hungary
IS : Iceland
IN : India
ID : Indonesia
IR : Iran Islamic Republic Of
IQ : Iraq
IE : Ireland
IM : Isle Of Man
IL : Israel
IT : Italy
JM : Jamaica
JP : Japan
JE : Jersey
JO : Jordan
KZ : Kazakhstan
KE : Kenya
KI : Kiribati
KR : Korea
KW : Kuwait
KG : Kyrgyzstan
LA : Lao People\s Democratic Republic
LV : Latvia
LB : Lebanon
LS : Lesotho
LR : Liberia
LY : Libyan Arab Jamahiriya
LI : Liechtenstein
LT : Lithuania
LU : Luxembourg
MO : Macao
MK : Macedonia
MG : Madagascar
MW : Malawi
MY : Malaysia
MV : Maldives
ML : Mali
MT : Malta
MH : Marshall Islands
MQ : Martinique
MR : Mauritania
MU : Mauritius
YT : Mayotte
MX : Mexico
FM : Micronesia Federated States Of
MD : Moldova
MC : Monaco
MN : Mongolia
ME : Montenegro
MS : Montserrat
MA : Morocco
MZ : Mozambique
MM : Myanmar
NA : Namibia
NR : Nauru
NP : Nepal
NL : Netherlands
AN : Netherlands Antilles
NC : New Caledonia
NZ : New Zealand
NI : Nicaragua
NE : Niger
NG : Nigeria
NU : Niue
NF : Norfolk Island
MP : Northern Mariana Islands
NO : Norway
OM : Oman
PK : Pakistan
PW : Palau
PS : Palestinian Territory Occupied
PA : Panama
PG : Papua New Guinea
PY : Paraguay
PE : Peru
PH : Philippines
PN : Pitcairn
PL : Poland
PT : Portugal
PR : Puerto Rico
QA : Qatar
RE : Reunion
RO : Romania
RU : Russian Federation
RW : Rwanda
BL : Saint Barthelemy
SH : Saint Helena
KN : Saint Kitts And Nevis
LC : Saint Lucia
MF : Saint Martin
PM : Saint Pierre And Miquelon
VC : Saint Vincent And Grenadines
WS : Samoa
SM : San Marino
ST : Sao Tome And Principe
SA : Saudi Arabia
SN : Senegal
RS : Serbia
SC : Seychelles
SL : Sierra Leone
SG : Singapore
SK : Slovakia
SI : Slovenia
SB : Solomon Islands
SO : Somalia
ZA : South Africa
GS : South Georgia And Sandwich Isl.
ES : Spain
LK : Sri Lanka
SD : Sudan
SR : Suriname
SJ : Svalbard And Jan Mayen
SZ : Swaziland
SE : Sweden
CH : Switzerland
SY : Syrian Arab Republic
TW : Taiwan
TJ : Tajikistan
TZ : Tanzania
TH : Thailand
TL : Timor-Leste
TG : Togo
TK : Tokelau
TO : Tonga
TT : Trinidad And Tobago
TN : Tunisia
TR : Turkey
TM : Turkmenistan
TC : Turks And Caicos Islands
TV : Tuvalu
UG : Uganda
UA : Ukraine
AE : United Arab Emirates
GB : United Kingdom
US : United States
UM : United States Outlying Islands
UY : Uruguay
UZ : Uzbekistan
VU : Vanuatu
VE : Venezuela
VN : Viet Nam
VG : Virgin Islands British
VI : Virgin Islands U.S.
WF : Wallis And Futuna
EH : Western Sahara
YE : Yemen
ZM : Zambia
ZW : Zimbabwe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment