Country select with English and local country names

On some website around ASUS, I have found a HTML code for building complete user country selection dropdown, which includes every country name written in both English and local name. All local names are encoded in UTF-8 (if not in UTF-16; I’m not sure) so for all countries that uses non-Latin alphabet everything should be fine.

Here is the code, ready to copy & paste to your editor:

[code language=”html”]
<select name="country_code">
<option value="AFG">Afghanistan ("جمهوری اسلامی افغانستان")</option>
<option value="ALB">Albania (Shqipëri)</option>
<option value="DZA">Algeria</option>
<option value="ASM">American Samoa</option>
<option value="AND">Andorra (Principat d’Andorra)</option>
<option value="AGO">Angola (República de Angola)</option>
<option value="AIA">Anguilla</option>
<option value="ATA">Antarctica</option>
<option value="ATG">Antigua and Barbuda</option>
<option value="ARG">Argentina (República Argentina)</option>
<option value="ARM">Armenia (Hayastan)</option>
<option value="ABW">Aruba</option>
<option value="AUS">Australia</option>
<option value="AUT">Austria (Österreich)</option>
<option value="AZE">Azerbaijan</option>
<option value="BHS">Bahamas</option>
<option value="BHR">Bahrain (مملكة البحرين)</option>
<option value="BGD">Bangladesh (বাংলাদেশ)</option>
<option value="BRB">Barbados</option>
<option value="BLR">Belarus (Беларусь)</option>
<option value="BEL">Belgium (Belgique)</option>
<option value="BLZ">Belize</option>
<option value="BEN">Benin</option>
<option value="BMU">Bermuda</option>
<option value="BTN">Bhutan</option>
<option value="BOL">Bolivia</option>
<option value="BIH">Bosnia/Herzegowina (Bosna i Hercegovina)</option>
<option value="BWA">Botswana (Lefatshe la Botswana)</option>
<option value="BVT">Bouvet Island</option>
<option value="BRA">Brazil</option>
<option value="IOT">British Indian Ocean Territory</option>
<option value="BRN">Brunei Darussalam (بروني دارالسلام)</option>
<option value="BGR">Bulgaria (България)</option>
<option value="BFA">Burkina Faso</option>
<option value="BDI">Burundi</option>
<option value="KHM">Cambodia (कम्बोजदेश)</option>
<option value="CMR">Cameroon</option>
<option value="CAN">Canada</option>
<option value="CPV">Cape Verde</option>
<option value="CYM">Cayman Islands</option>
<option value="CAF">Central African Republic (République centrafricaine)</option>
<option value="TCD">Chad</option>
<option value="CHL">Chile</option>
<option value="CHN">China (中國)</option>
<option value="CXR">Christmas Island</option>
<option value="CCK">Cocos (Keeling) Islands</option>
<option value="COL">Colombia</option>
<option value="COM">Comoros</option>
<option value="COG">Congo</option>
<option value="COK">Cook Islands</option>
<option value="CRI">Costa Rica</option>
<option value="CIV">Cote D’Ivoire</option>
<option value="HRV">Croatia (Hrvatska)</option>
<option value="CYP">Cyprus (Euro)</option>
<option value="CZE">Czech Republic (Česká republika)</option>
<option value="DNK">Denmark (Danmark)</option>
<option value="DJI">Djibouti</option>
<option value="DMA">Dominica</option>
<option value="DOM">Dominican Republic</option>
<option value="TMP">East Timor</option>
<option value="ECU">Ecuador</option>
<option value="EGY">Egypt (مصر‎)</option>
<option value="SLV">El Salvador</option>
<option value="GNQ">Equatorial Guinea</option>
<option value="ERI">Eritrea</option>
<option value="EST">Estonia (Eesti)</option>
<option value="ETH">Ethiopia</option>
<option value="FLK">Falkland Islands</option>
<option value="FRO">Faroe Islands</option>
<option value="FJI">Fiji</option>
<option value="FIN">Finland (Suomi)</option>
<option value="FRA">France</option>
<option value="GUF">French Guiana</option>
<option value="PYF">French Polynesia</option>
<option value="ATF">French Southern Territories</option>
<option value="GAB">Gabon</option>
<option value="GMB">Gambia</option>
<option value="GEO">Georgia (საქართველო)</option>
<option value="DEU">Germany (Deutschland)</option>
<option value="GHA">Ghana</option>
<option value="GIB">Gibraltar</option>
<option value="GRC">Greece (Ελλάδα)</option>
<option value="GRL">Greenland</option>
<option value="GRD">Grenada</option>
<option value="GLP">Guadeloupe</option>
<option value="GUM">Guam</option>
<option value="GTM">Guatemala</option>
<option value="GIN">Guinea</option>
<option value="GNB">Guinea-Bissau</option>
<option value="GUY">Guyana</option>
<option value="HTI">Haiti</option>
<option value="HMD">Heard and Mc Donald Islands</option>
<option value="VAT">Vatican City (Stato della Città del Vaticano)</option>
<option value="HND">Honduras</option>
<option value="HKG">Hong Kong (香港)</option>
<option value="HUN">Hungary (Magyarország)</option>
<option value="ISL">Iceland (Ísland)</option>
<option value="IND">India (भारत गणराज्य )</option>
<option value="IDN">Indonesia (Republik Indonesia)</option>
<option value="IRQ">Iraq (العراق)</option>
<option value="IRL">Ireland (Ireland)</option>
<option value="ISR">Israel (מְדִינַת יִשְׂרָאֵל / دَوْلَةُ إِسْرَائِيلَ)</option>
<option value="ITA">Italy (Italia)</option>
<option value="JAM">Jamaica</option>
<option value="JPN">Japan (日本国)</option>
<option value="JOR">Jordan (L’Ürdünn)</option>
<option value="KAZ">Kazakhstan</option>
<option value="KEN">Kenya (Jamhuri ya Kenya)</option>
<option value="KIR">Kiribati</option>
<option value="KOR">Korea, Republic of (대한민국)</option>
<option value="KWT">Kuwait (دولة الكويت)</option>
<option value="KGZ">Kyrgyzstan</option>
<option value="LAO">Lao People`s Democratic Republic</option>
<option value="LVA">Latvia (Latvija)</option>
<option value="LBN">Lebanon (اَلْجُمْهُورِيَّة اَللُّبْنَانِيَّة)</option>
<option value="LSO">Lesotho</option>
<option value="LBR">Liberia</option>
<option value="LBY">Libia (Libyan Arab Jamahiriya)</option>
<option value="LIE">Liechtenstein (Liechtenstein)</option>
<option value="LTU">Lithuania (Lietuva)</option>
<option value="LUX">Luxembourg (Lëtzebuerg)</option>
<option value="MAC">Macau</option>
<option value="MKD">Macedonia</option>
<option value="MDG">Madagascar</option>
<option value="MWI">Malawi</option>
<option value="MYS">Malaysia (Persekutuan Malaysia)</option>
<option value="MDV">Maldives</option>
<option value="MLI">Mali</option>
<option value="MLT">Malta (Malta)</option>
<option value="MHL">Marshall Islands</option>
<option value="MTQ">Martinique</option>
<option value="MRT">Mauritania</option>
<option value="MUS">Mauritius (Republik Moris)</option>
<option value="MYT">Mayotte</option>
<option value="MEX">Mexico</option>
<option value="FSM">Micronesia</option>
<option value="MDA">Moldova</option>
<option value="MCO">Monaco</option>
<option value="MNG">Mongolia</option>
<option value="MSR">Montserrat</option>
<option value="MAR">Morocco</option>
<option value="MOZ">Mozambique</option>
<option value="MMR">Myanmar (Pyidaunzu Thanmăda Myăma Nainngandaw)</option>
<option value="NAM">Namibia</option>
<option value="NRU">Nauru</option>
<option value="NPL">Nepal (सङ्घीय लोकतान्त्रिक गणतन्त्र नेपाल)</option>
<option value="NLD">Netherlands (Nederland)</option>
<option value="ANT">Netherlands Antilles</option>
<option value="NCL">New Caledonia (Nouvelle-Calédonie)</option>
<option value="NZL">New Zealand</option>
<option value="NIC">Nicaragua</option>
<option value="NER">Niger</option>
<option value="NGA">Nigeria (Republik Nijeriya)</option>
<option value="NIU">Niue</option>
<option value="NFK">Norfolk Island (Norfuk Ailen)</option>
<option value="MNP">Northern Mariana Islands</option>
<option value="NOR">Norway (Norge)</option>
<option value="OMN">Oman ("لطنة عمان")</option>
<option value="PAK">Pakistan (پاکِستان)</option>
<option value="PLW">Palau</option>
<option value="PAN">Panama</option>
<option value="PNG">Papua New Guinea</option>
<option value="PRY">Paraguay</option>
<option value="PER">Peru</option>
<option value="PHL">Philippines (Pilipinas)</option>
<option value="PCN">Pitcairn</option>
<option value="POL">Poland (Polska)</option>
<option value="PRT">Portugal</option>
<option value="PRI">Puerto Rico</option>
<option value="QAT">Qatar</option>
<option value="REU">Reunion</option>
<option value="ROM">Romania (România)</option>
<option value="RUS">Russia (Россия)</option>
<option value="RWA">Rwanda</option>
<option value="KNA">Saint Kitts and Nevis</option>
<option value="LCA">Saint Lucia</option>
<option value="VCT">Saint Vincent and the Grenadines</option>
<option value="WSM">Samoa</option>
<option value="SMR">San Marino (San Marino)</option>
<option value="STP">Sao Tome and Principe</option>
<option value="SAU">Saudi Arabia (المملكة العربية السعودية)</option>
<option value="SEN">Senegal</option>
<option value="SCG">Serbia and Montenegro</option>
<option value="SYC">Seychelles</option>
<option value="SLE">Sierra Leone</option>
<option value="SGP">Singapore (Singapore)</option>
<option value="SVK">Slovakia (Slovensko)</option>
<option value="SVN">Slovenia (Slovenija)</option>
<option value="SLB">Solomon Islands</option>
<option value="SOM">Somalia</option>
<option value="ZAF">South Africa (Republiek van Suid-Afrika )</option>
<option value="SGS">South Georgia and the South Sandwich Islands</option>
<option value="ESP">Spain (España)</option>
<option value="LKA">Sri Lanka (இலங்கை ஜனநாயக சமத்துவ )</option>
<option value="SHN">St. Helena</option>
<option value="SPM">St. Pierre and Miquelon</option>
<option value="SUR">Suriname</option>
<option value="SJM">Svalbard and Jan Mayen Islands</option>
<option value="SWZ">Swaziland (Swatini)</option>
<option value="SWE">Sweden (Sverige)</option>
<option value="CHE">Switzerland (Suisse)</option>
<option value="TWN">TAIWAN, R.O.C. (台灣)</option>
<option value="TJK">Tajikistan</option>
<option value="TZA">Tanzania</option>
<option value="THA">Thailand (ราชอาณาจักรไทย)</option>
<option value="TGO">Togo</option>
<option value="TKL">Tokelau</option>
<option value="TON">Tonga</option>
<option value="TTO">Trinidad and Tobago</option>
<option value="TUN">Tunisia</option>
<option value="TUR">Turkey (Türkiye)</option>
<option value="TKM">Turkmenistan</option>
<option value="TCA">Turks and Caicos Islands</option>
<option value="TUV">Tuvalu</option>
<option value="UGA">Uganda (Jamhuri ya Uganda)</option>
<option value="UKR">Ukraine (Україна)</option>
<option value="ARE">United Arab Emirates (دولة الإمارات العربية المتحدة‎)</option>
<option value="GBR">United Kingdom</option>
<option value="USA">United States</option>
<option value="UMI">United States Minor Outlying Islands</option>
<option value="URY">Uruguay</option>
<option value="UZB">Uzbekistan</option>
<option value="VUT">Vanuatu</option>
<option value="VEN">Venezuela</option>
<option value="VNM">Viet Nam (Việt Nam)</option>
<option value="VGB">Virgin Islands (British)</option>
<option value="VIR">Virgin Islands (U.S.)</option>
<option value="WLF">Wallis and Futuna Islands</option>
<option value="ESH">Western Sahara</option>
<option value="YEM">Yemen</option>
<option value="ZAR">Zaire</option>
<option value="ZMB">Zambia</option>
<option value="ZWE">Zimbabwe (Simudzai Mureza wedu WeZimbabwe)</option>
</select>
[/code]

In addition, in some internal source, I have found similar list, that this time allows to select an nationality:

[code language=”html”]
<select name="nationality_code">
<option value="AFG">Afghani</option>
<option value="ALA">Alandic</option>
<option value="ALB">Albanian</option>
<option value="ANT">Netherlands Antilles</option>
<option value="DZA">Algerian</option>
<option value="ASM">Samoan</option>
<option value="AND">Andorran</option>
<option value="AGO">Angolan</option>
<option value="AIA">Anguillan</option>
<option value="ATA">Antarctic</option>
<option value="ATG">Antiguan</option>
<option value="ARG">Argentine</option>
<option value="ARM">Armenian</option>
<option value="ABW">Arubian</option>
<option value="AUS">Australian</option>
<option value="AUT">Austrian</option>
<option value="AZE">Azerbaijani</option>
<option value="BHS">Bahameese</option>
<option value="BHR">Bahrainian</option>
<option value="BGD">Bangladeshi</option>
<option value="BRB">Barbadian</option>
<option value="BLR">Belarusian</option>
<option value="BEL">Belgian</option>
<option value="BLZ">Belizean</option>
<option value="BEN">Beninese</option>
<option value="BMU">Bermudan</option>
<option value="BTN">Bhutanese</option>
<option value="BOL">Bolivian</option>
<option value="BIH">Bosnian</option>
<option value="BWA">Botswana</option>
<option value="BVT">Bouvet Island</option>
<option value="BRA">Brazilian</option>
<option value="IOT">British Indian Ocean Territory</option>
<option value="BRN">Bruneian</option>
<option value="BGR">Bulgarian</option>
<option value="BFA">Burkinabe</option>
<option value="BDI">Burundian</option>
<option value="KHM">Cape Verdean</option>
<option value="CMR">Cambodian</option>
<option value="CAN">Cameroonian</option>
<option value="CPV">Canadian</option>
<option value="CYM">Caymanian</option>
<option value="CAF">Central African</option>
<option value="TCD">Chadian</option>
<option value="CHL">Chilean</option>
<option value="CHN">Chinese</option>
<option value="CXR">Christmas Islander</option>
<option value="CCK">Cocossian</option>
<option value="COL">Colombian</option>
<option value="COM">Comoran</option>
<option value="COG">Congolese</option>
<option value="COD">Congolese</option>
<option value="COK">Cook Islander</option>
<option value="CUW">Curaçao</option>
<option value="CRI">Costa Rican</option>
<option value="CIV">Ivorian</option>
<option value="HRV">Croatian</option>
<option value="CUB">Cuban</option>
<option value="CYP">Cypriot</option>
<option value="CZE">Czech</option>
<option value="DNK">Danish</option>
<option value="DJI">Djiboutian</option>
<option value="DMA">Dominican</option>
<option value="DOM">Dominican</option>
<option value="ECU">Ecuadorean</option>
<option value="EGY">Egyptian</option>
<option value="SLV">Salvadorean</option>
<option value="GNQ">Equatorial Guinean</option>
<option value="ERI">Eritrean</option>
<option value="EST">Estonian</option>
<option value="ETH">Ethiopian</option>
<option value="FLK">Falkland Islander</option>
<option value="FRO">Faroese</option>
<option value="FJI">Fijian</option>
<option value="FIN">Finnish</option>
<option value="FRA">French</option>
<option value="GUF">French Guianese</option>
<option value="PYF">French Polynesian</option>
<option value="ATF">French Southern Territories</option>
<option value="GAB">Gabonese</option>
<option value="GMB">Gambian</option>
<option value="GEO">Georgian</option>
<option value="DEU">German</option>
<option value="GHA">Ghanaian</option>
<option value="GIB">Gibralterian</option>
<option value="GRC">Greek</option>
<option value="GRL">Greenlander</option>
<option value="GRD">Grenadian</option>
<option value="GLP">Guadeloupean</option>
<option value="GUM">Guamanian</option>
<option value="GTM">Guatemalan</option>
<option value="GGY">Guernsey</option>
<option value="GIN">Guinean</option>
<option value="GNB">Guinean</option>
<option value="GUY">Guyanese</option>
<option value="HTI">Haitian</option>
<option value="HMD">Heard Island and McDonald Islands</option>
<option value="VAT">Vatican</option>
<option value="HND">Honduran</option>
<option value="HKG">Hong Konger</option>
<option value="HUN">Hungarian</option>
<option value="ISL">Icelander</option>
<option value="IND">Indian</option>
<option value="IDN">Indonesian</option>
<option value="IRN">Iranian</option>
<option value="IRQ">Iraqi</option>
<option value="IRL">Irish</option>
<option value="IMN">Manx</option>
<option value="ISR">Israeli</option>
<option value="ITA">Italian</option>
<option value="JAM">Jamaican</option>
<option value="JPN">Japanese</option>
<option value="JEY">Jersey</option>
<option value="JOR">Jordanian</option>
<option value="KAZ">Kazakhstani</option>
<option value="KEN">Kenyan</option>
<option value="KIR">I-Kiribati</option>
<option value="PRK">South Korean</option>
<option value="KOR">North Korean</option>
<option value="KWT">Kuwaiti</option>
<option value="KGZ">Kyrgyzstani</option>
<option value="LAO">Laotian</option>
<option value="LVA">Latvian</option>
<option value="LBN">Lebanese</option>
<option value="LSO">Mosotho</option>
<option value="LBR">Liberian</option>
<option value="LBY">Libyan</option>
<option value="LIE">Liechtensteiner</option>
<option value="LTU">Lithunian</option>
<option value="LUX">Luxembourger</option>
<option value="MAC">Macanese</option>
<option value="MKD">Macedonian</option>
<option value="MDG">Malagasy</option>
<option value="MWI">Malawian</option>
<option value="MYS">Malaysian</option>
<option value="MDV">Maldivan</option>
<option value="MLI">Malian</option>
<option value="MLT">Maltese</option>
<option value="MHL">Marshallese</option>
<option value="MTQ">Martinican</option>
<option value="MRT">Mauritanian</option>
<option value="MUS">Mauritian</option>
<option value="MYT">Mahoran</option>
<option value="MEX">Mexican</option>
<option value="FSM">Micronesian</option>
<option value="MDA">Moldovan</option>
<option value="MCO">Monacan</option>
<option value="MNG">Mongolian</option>
<option value="MNE">Montenegrin</option>
<option value="MSR">Montserratian</option>
<option value="MAR">Moroccan</option>
<option value="MOZ">Mozambican</option>
<option value="MMR">Myanmarese</option>
<option value="NAM">Namibian</option>
<option value="NRU">Nauruan</option>
<option value="NPL">Nepalese</option>
<option value="NLD">Dutch</option>
<option value="NCL">New Caledonian</option>
<option value="NZL">New Zealander</option>
<option value="NIC">Nicaraguan</option>
<option value="NER">Nigerien</option>
<option value="NGA">Nigerian</option>
<option value="NIU">Niuean</option>
<option value="NFK">Norfolk Islander</option>
<option value="MNP">Northern Mariana Islander</option>
<option value="NOR">Norwegian</option>
<option value="OMN">Omani</option>
<option value="PAK">Pakistani</option>
<option value="PLW">Palauan</option>
<option value="PSE">Palestinian</option>
<option value="PAN">Panamanian</option>
<option value="PNG">Papua New Guinean</option>
<option value="PRY">Paraguayan</option>
<option value="PER">Peruvian</option>
<option value="PHL">Filipino</option>
<option value="PCN">Pitcairn Islander</option>
<option value="POL">Polish</option>
<option value="PRT">Portuguese</option>
<option value="PRI">Puerto Rican</option>
<option value="QAT">Qatari</option>
<option value="REU">Réunion</option>
<option value="ROU">Romanian</option>
<option value="RUS">Russian</option>
<option value="RWA">Rwandan</option>
<option value="BLM">Barthélemois</option>
<option value="SHN">Saint Helenian</option>
<option value="KNA">Kittian</option>
<option value="LCA">Saint Lucian</option>
<option value="MAF">Saint Martin (French part)</option>
<option value="SPM">Saint Pierre and Miquelon</option>
<option value="VCT">Saint Vincentian</option>
<option value="WSM">Samoan</option>
<option value="SMR">Sanmarinese</option>
<option value="STP">Sao Tomean</option>
<option value="SAU">Saudi Arabian</option>
<option value="SEN">Senegalese</option>
<option value="SRB">Serbian</option>
<option value="SYC">Seychellois</option>
<option value="SLE">Sierra Leonean</option>
<option value="SGP">Singaporean</option>
<option value="SVK">Slovakian</option>
<option value="SVN">Slovenian</option>
<option value="SLB">Solomon Islander</option>
<option value="SOM">Somali</option>
<option value="ZAF">South African</option>
<option value="SGS">South Georgia and the South Sandwich Islands</option>
<option value="ESP">Spanish</option>
<option value="LKA">Sri Lankan</option>
<option value="SDN">Sudanese</option>
<option value="SUR">Surinamer</option>
<option value="SJM">Svalbard and Jan Mayen</option>
<option value="SWZ">Swazi</option>
<option value="SWE">Swedish</option>
<option value="CHE">Swiss</option>
<option value="SYR">Syrian</option>
<option value="TWN">Taiwanese</option>
<option value="TJK">Tajikistani</option>
<option value="TZA">Tanzanian</option>
<option value="THA">Thai</option>
<option value="TLS">Timorese</option>
<option value="TGO">Togolese</option>
<option value="TKL">Tokelauan</option>
<option value="TON">Tongan</option>
<option value="TTO">Trinidadian</option>
<option value="TUN">Tunisian</option>
<option value="TUR">Turkish</option>
<option value="TKM">Turkmen</option>
<option value="TCA">Turks and Caicos Islander</option>
<option value="TUV">Tuvaluan</option>
<option value="UGA">Ugandan</option>
<option value="UKR">Ukrainian</option>
<option value="ARE">Emirian</option>
<option value="GBR">British</option>
<option value="USA">American</option>
<option value="UMI">United States Minor Outlying Islands</option>
<option value="URY">Uruguayan</option>
<option value="UZB">Uzbekistani</option>
<option value="VUT">Ni-Vanuatu</option>
<option value="VEN">Venezuelan</option>
<option value="VNM">Vietnamese</option>
<option value="VGB">British Virgin Islander</option>
<option value="VIR">American Virgin Islander</option>
<option value="WLF">Wallisian</option>
<option value="ESH">Western Saharan</option>
<option value="YEM">Yemeni</option>
<option value="ZMB">Zambian</option>
<option value="ZWE">Zimbabwean</option>
</select>
[/code]

It offers correct pronunciation of each nationality, but unfortunately this time only in English.

Leave a Reply