Module:Flags/MasterData

MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
Jump to navigationJump to search

This module provides to Module:Flags the English / default data of all the flags explicitly supported. Editors can publish these flags using Template:Flags.

DON'T TRANSLATE NAMES OF FLAGS HERE - If your project is not in English then you also need Module:Flags/LocaleData.

Contribute

Your help is welcome: please contribute adding the data available at the country data templates. We already cover all ISO 3166-1 states and dependent territories, and now we are working on their ISO 3166-2 subdivisions.

ISO 3166-1 countries and dependent territories

2 letter codes

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

3 letter codes

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Full names

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Variants / labels and ISO 3166-2 subdivisions

Afghanistan

Template:Flags Template:Flags

Andorra

Template:Flags

Australia

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Belgium

Template:Flags Template:Flags Template:Flags Template:Flags (no SVG) Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Bolivia

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Canada

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Chile

Template:Flags

Ethiopia

Template:Flags

Georgia

Template:Flags Template:Flags Template:Flags

Italy

Template:Flags Template:Flags Template:Flags

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Libya

Template:Flags Template:Flags Template:Flags Template:Flags

Mexico

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Myanmar

Template:Flags

New Zealand

Template:Flags Template:Flags Template:Flags Template:Flags

South Africa

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Spain

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Tanzania

Template:Flags

United Kingdom

Template:Flags Template:Flags Template:Flags Template:Flags

United States

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Other

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags

Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags Template:Flags


-- You don't want to touch this.  :)
local m = {}
m.fullName = {}
m.twoLetter = {}
m.threeLetter = {}
m.variant = {}

-- Structure of the table:
-- 1. Full names
-- 1.1 International organizations
-- 1.2 All territories ISO 3166-1
-- 1.3 All ISO 3166-2 subdivisions
-- 1.4 Other territories not fitting above
-- 1.5 Other flags supported and not fitting above
-- 1.6 All variants & labels
-- 2. All 2 letter codes ISO 3166-1 alpha-2
-- 3. All 3 letter codes ISO 3166-1 alpha-3

-- 1. FULL NAMES
-- 1.1 INTERNATIONAL ORGANIZATIONS
m.fullName["African Union"] = "African Union"
m.fullName["Arab League"] = "the Arab League"
m.fullName["Europe"] = "Europe"
m.fullName["NATO"] = "NATO"

-- 1.3 ALL TERRITORIES ISO 3166-1
-- For the list of territories see http://en.wikipedia.org/wiki/ISO_3166-1
m.fullName["Afghanistan"] = "Afghanistan"
m.fullName["Åland"] = "Åland"
m.fullName["Albania"] = "Albania"
m.fullName["Algeria"] = "Algeria"
m.fullName["American Samoa"] = "American Samoa"
m.fullName["Andorra"] = "Andorra"
m.fullName["Angola"] = "Angola"
m.fullName["Anguilla"] = "Anguilla"
m.fullName["Antarctica"] = "Antarctica"
m.fullName["Antigua and Barbuda"] = "Antigua and Barbuda"
m.fullName["Argentina"] = "Argentina"
m.fullName["Armenia"] = "Armenia"
m.fullName["Aruba"] = "Aruba"
m.fullName["Australia"] = "Australia"
m.fullName["Austria"] = "Austria"
m.fullName["Azerbaijan"] = "Azerbaijan"
m.fullName["Bahamas"] = "the Bahamas"
m.fullName["Bahrain"] = "Bahrain"
m.fullName["Bangladesh"] = "Bangladesh"
m.fullName["Barbados"] = "Barbados"
m.fullName["Beijing"] = "Beijing"
m.fullName["Belarus"] = "Belarus"
m.fullName["Belgium"] = "Belgium"
m.fullName["Belize"] = "Belize"
m.fullName["Benin"] = "Benin"
m.fullName["Bermuda"] = "Bermuda"
m.fullName["Bhutan"] = "Bhutan"
m.fullName["Bolivia"] = "Bolivia"
m.fullName["Bonaire"] = "Bonaire"
m.fullName["Bosnia and Herzegovina"] = "Bosnia and Herzegovina"
m.fullName["Botswana"] = "Botswana"
m.fullName["Brazil"] = "Brazil"
m.fullName["British Indian Ocean Territory"] = "the British Indian Ocean Territory"
m.fullName["Brunei"] = "Brunei"
m.fullName["Bulgaria"] = "Bulgaria"
m.fullName["Burkina Faso"] = "Burkina Faso"
m.fullName["Burundi"] = "Burundi"
m.fullName["Cambodia"] = "Cambodia"
m.fullName["Cameroon"] = "Cameroon"
m.fullName["Canada"] = "Canada"
m.fullName["Cape Verde"] = "Cape Verde"
m.fullName["Cayman Islands"] = "the Cayman Islands"
m.fullName["Central African Republic"] = "the Central African Republic"
m.fullName["Chad"] = "Chad"
m.fullName["Chile"] = "Chile"
m.fullName["China"] = "China"
m.fullName["Chinese Taipei"] = "Chinese Taipei for Olympic games"
m.fullName["Christmas Island"] = "Christmas Island"
m.fullName["Cocos (Keeling) Islands"] = "the Cocos (Keeling) Islands"
m.fullName["Colombia"] = "Colombia"
m.fullName["Comoros"] = "Comoros"
m.fullName["Congo"] = "the Republic of the Congo"
m.fullName["Republic of the Congo"] = "the Republic of the Congo"
m.fullName["Democratic Republic of the Congo"] = "the Democratic Republic of the Congo"
m.fullName["Cook Islands"] = "Cook Islands"
m.fullName["Costa Rica"] = "Costa Rica"
m.fullName["Côte d'Ivoire"] = "Côte d'Ivoire"
m.fullName["Croatia"] = "Croatia"
m.fullName["Cuba"] = "Cuba"
m.fullName["Curaçao"] = "Curaçao"
m.fullName["Cyprus"] = "Cyprus"
m.fullName["Czech Republic"] = "the Czech Republic"
m.fullName["Denmark"] = "Denmark"
m.fullName["Djibouti"] = "Djibouti"
m.fullName["Dominica"] = "Dominica"
m.fullName["Dominican Republic"] = "Dominican Republic"
m.fullName["Ecuador"] = "Ecuador"
m.fullName["Egypt"] = "Egypt"
m.fullName["El Salvador"] = "El Salvador"
m.fullName["Equatorial Guinea"] = "Equatorial Guinea"
m.fullName["Eritrea"] = "Eritrea"
m.fullName["Estonia"] = "Estonia"
m.fullName["Ethiopia"] = "Ethiopia"
m.fullName["Falkland Islands"] = "the Falkland Islands"
m.fullName["Faroe Islands"] = "the Faroe Islands"
m.fullName["Fiji"] = "Fiji"
m.fullName["Finland"] = "Finland"
m.fullName["France"] = "France"
m.fullName["French Guiana"] = "French Guiana"
m.fullName["French Polynesia"] = "French Polynesia"
m.fullName["French Southern and Antarctic Lands"] = "the French Southern and Antarctic Lands"
m.fullName["Gabon"] = "Gabon"
m.fullName["Gambia"] = "Gambia"
m.fullName["Georgia (country)"] = "Georgia (country)"
m.fullName["Germany"] = "Germany"
m.fullName["Ghana"] = "Ghana"
m.fullName["Gibraltar"] = "Gibraltar"
m.fullName["Greece"] = "Greece"
m.fullName["Greenland"] = "Greenland"
m.fullName["Grenada"] = "Grenada"
m.fullName["Guadeloupe"] = "Guadeloupe (local) variant"
m.fullName["Guam"] = "Guam"
m.fullName["Guatemala"] = "Guatemala"
m.fullName["Guernsey"] = "Guernsey"
m.fullName["Guinea"] = "Guinea"
m.fullName["Guinea-Bissau"] = "Guinea-Bissau"
m.fullName["Guyana"] = "Guyana"
m.fullName["Haiti"] = "Haiti"
m.fullName["Vatican City"] = "the Vatican City"
m.fullName["Honduras"] = "Honduras"
m.fullName["Hong Kong"] = "Hong Kong"
m.fullName["Hungary"] = "Hungary"
m.fullName["Iceland"] = "Iceland"
m.fullName["India"] = "India"
m.fullName["Indonesia"] = "Indonesia"
m.fullName["Iran"] = "Iran"
m.fullName["Iraq"] = "Iraq"
m.fullName["Ireland"] = "Ireland"
m.fullName["Republic of Ireland"] = "Ireland"
m.fullName["Isle of Man"] = "the Isle of Man"
m.fullName["Israel"] = "Israel"
m.fullName["Italy"] = "Italy"
m.fullName["Jamaica"] = "Jamaica"
m.fullName["Japan"] = "Japan"
m.fullName["Jersey"] = "Jersey"
m.fullName["Jordan"] = "Jordan"
m.fullName["Kazakhstan"] = "Kazakhstan"
m.fullName["Kenya"] = "Kenya"
m.fullName["Kiribati"] = "Kiribati"
m.fullName["Marrakesh"] = "Marrakech province"
m.fullName["North Korea"] = "North Korea"
m.fullName["South Korea"] = "South Korea"
m.fullName["Kuwait"] = "Kuwait"
m.fullName["Kyrgyzstan"] = "Kyrgyzstan"
m.fullName["Laos"] = "Laos"
m.fullName["Latvia"] = "Latvia"
m.fullName["Lebanon"] = "Lebanon"
m.fullName["Lesotho"] = "Lesotho"
m.fullName["Liberia"] = "Liberia"
m.fullName["Libya"] = "Libya"
m.fullName["Liechtenstein"] = "Liechtenstein"
m.fullName["Lithuania"] = "Lithuania"
m.fullName["Luxembourg"] = "Luxembourg"
m.fullName["Macau"] = "Macau"
m.fullName["Macedonia"] = "North Macedonia"
m.fullName["Madagascar"] = "Madagascar"
m.fullName["Malawi"] = "Malawi"
m.fullName["Malaysia"] = "Malaysia"
m.fullName["Maldives"] = "Maldives"
m.fullName["Mali"] = "Mali"
m.fullName["Malta"] = "Malta"
m.fullName["Marshall Islands"] = "the Marshall Islands"
m.fullName["Martinique"] = "Martinique"
m.fullName["Mauritania"] = "Mauritania"
m.fullName["Mauritius"] = "Mauritius"
m.fullName["Mayotte"] = "Mayotte (local)"
m.fullName["Mexico"] = "Mexico"
m.fullName["Mexico City"] = "Mexican Federal District"
m.fullName["Miami, Florida"] = "Miami, Florida"
m.fullName["Federated States of Micronesia"] = "the Federated States of Micronesia"
m.fullName["Moldova"] = "Moldova"
m.fullName["Monaco"] = "Monaco"
m.fullName["Mongolia"] = "Mongolia"
m.fullName["Montenegro"] = "Montenegro"
m.fullName["Montserrat"] = "Montserrat"
m.fullName["Morocco"] = "Morocco"
m.fullName["Mozambique"] = "Mozambique"
m.fullName["Myanmar"] = "Myanmar"
m.fullName["Namibia"] = "Namibia"
m.fullName["Nauru"] = "Nauru"
m.fullName["Nepal"] = "Nepal"
m.fullName["Netherlands"] = "Netherlands"
m.fullName["New Caledonia"] = "New Caledonia"
m.fullName["New Zealand"] = "New Zealand"
m.fullName["Nicaragua"] = "Nicaragua"
m.fullName["Niger"] = "Niger"
m.fullName["Nigeria"] = "Nigeria"
m.fullName["Niue"] = "Niue"
m.fullName["Norfolk Island"] = "Norfolk Island"
m.fullName["Northern Mariana Islands"] = "the Northern Mariana Islands"
m.fullName["Norway"] = "Norway"
m.fullName["Oman"] = "Oman"
m.fullName["Pakistan"] = "Pakistan"
m.fullName["Palau"] = "Palau"
m.fullName["Palestine"] = "Palestine"
m.fullName["Panama"] = "Panama"
m.fullName["Papua New Guinea"] = "Papua New Guinea"
m.fullName["Paraguay"] = "Paraguay"
m.fullName["Peru"] = "Peru"
m.fullName["Philippines"] = "Philippines"
m.fullName["Pitcairn Islands"] = "the Pitcairn Islands"
m.fullName["Poland"] = "Poland"
m.fullName["Portugal"] = "Portugal"
m.fullName["Puerto Rico"] = "Puerto Rico"
m.fullName["Qatar"] = "Qatar"
m.fullName["Réunion"] = "Réunion"
m.fullName["Romania"] = "Romania"
m.fullName["Russia"] = "Russian Federation"
m.fullName["Rwanda"] = "Rwanda"
m.fullName["Saint Barthelemy"] = "Saint Barthelemy (local)"
m.fullName["Saint Helena, Ascension and Tristan da Cunha"] = "File:Flag of the United Kingdom"
m.fullName["Saint Kitts and Nevis"] = "Saint Kitts and Nevis"
m.fullName["Saint Lucia"] = "Saint Lucia"
m.fullName["Saint-Martin"] = "Collectivity of Saint Martin"
m.fullName["Saint-Pierre and Miquelon"] = "Saint-Pierre and Miquelon"
m.fullName["Saint Vincent and the Grenadines"] = "Saint Vincent and the Grenadines"
m.fullName["Samoa"] = "Samoa"
m.fullName["San Marino"] = "San Marino"
m.fullName["Sao Tome and Principe"] = "Sao Tome and Principe"
m.fullName["Saudi Arabia"] = "Saudi Arabia"
m.fullName["Senegal"] = "Senegal"
m.fullName["Serbia"] = "Serbia"
m.fullName["Seychelles"] = "Seychelles"
m.fullName["Sierra Leone"] = "Sierra Leone"
m.fullName["Singapore"] = "Singapore"
m.fullName["Sint Maarten"] = "Sint Maarten"
m.fullName["Slovakia"] = "Slovakia"
m.fullName["Slovenia"] = "Slovenia"
m.fullName["Solomon Islands"] = "the Solomon Islands"
m.fullName["Somalia"] = "Somalia"
m.fullName["South Africa"] = "South Africa"
m.fullName["South Georgia and the South Sandwich Islands"] = "South Georgia and the South Sandwich Islands"
m.fullName["South Sudan"] = "South Sudan"
m.fullName["Spain"] = "Spain"
m.fullName["Sri Lanka"] = "Sri Lanka"
m.fullName["Sudan"] = "Sudan"
m.fullName["Suriname"] = "Suriname"
m.fullName["Swaziland"] = "Swaziland"
m.fullName["Sweden"] = "Sweden"
m.fullName["Switzerland"] = "Switzerland"
m.fullName["Syria"] = "Syria"
m.fullName["Taiwan"] = "Taiwan"
m.fullName["Tajikistan"] = "Tajikistan"
m.fullName["Tanzania"] = "Tanzania"
m.fullName["Thailand"] = "Thailand"
m.fullName["East Timor"] = "East Timor"
m.fullName["Togo"] = "Togo"
m.fullName["Tokelau"] = "Tokelau"
m.fullName["Tonga"] = "Tonga"
m.fullName["Trinidad and Tobago"] = "Trinidad and Tobago"
m.fullName["Tunisia"] = "Tunisia"
m.fullName["Turkey"] = "Turkey"
m.fullName["Turkmenistan"] = "Turkmenistan"
m.fullName["Turks and Caicos Islands"] = "the Turks and Caicos Islands"
m.fullName["Tuvalu"] = "Tuvalu"
m.fullName["Uganda"] = "Uganda"
m.fullName["Ukraine"] = "Ukraine"
m.fullName["United Arab Emirates"] = "United Arab Emirates"
m.fullName["United Kingdom"] = "United Kingdom"
m.fullName["United States"] = "United States"
m.fullName["Uruguay"] = "Uruguay"
m.fullName["Uzbekistan"] = "Uzbekistan"
m.fullName["Vanuatu"] = "Vanuatu"
m.fullName["Venezuela"] = "Venezuela"
m.fullName["Vietnam"] = "Vietnam"
m.fullName["British Virgin Islands"] = "the British Virgin Islands"
m.fullName["United States Virgin Islands"] = "the United States Virgin Islands"
m.fullName["Wallis and Futuna"] = "Wallis and Futuna"
m.fullName["Western Sahara"] = "Western Sahara"
m.fullName["Yemen"] = "Yemen"
m.fullName["Zambia"] = "Zambia"
m.fullName["Zimbabwe"] = "Zimbabwe"

-- 1.3 All ISO 3166-2 SUBDIVISIONS
-- For the subdivisions see http://en.wikipedia.org/wiki/ISO_3166-2 and
-- http://en.wikipedia.org/wiki/Category:Country_data_templates

-- ARGENTINA - http://en.wikipedia.org/wiki/Template:Country_data_Argentina subdivisions pending, filenames are in Spanish

-- AUSTRALIA - http://en.wikipedia.org/wiki/Template:Country_data_Australia
m.fullName["Australian Capital Territory"] = "the Australian Capital Territory"
m.fullName["New South Wales"] = "New South Wales"
m.fullName["Northern Territory"] = "the Northern Territory"
m.fullName["Queensland"] = "Queensland"
m.fullName["South Australia"] = "South Australia"
m.fullName["Tasmania"] = "Tasmania"
m.fullName["Victoria (Australia)"] = "Victoria (Australia)"
m.fullName["Western Australia"] = "Western Australia"

-- BELGIUM - http://en.wikipedia.org/wiki/Template:Country_data_Belgium
m.fullName["Brussels-Capital Region"] = "File:Flag Belgium brussels"
m.fullName["Brussels (city)"] = "File:Drapeau ville de Bruxelles.png"
m.fullName["Flemish Region"] = "Flanders"
m.fullName["Antwerp"] = "Antwerp"
m.fullName["Limburg (Belgium)"] = "File:Vlaams-limburg"
m.fullName["Flemish-Brabant"] = "File:Flemish-Brabant"
m.fullName["East Flanders"] = "Oost-Vlaanderen"
m.fullName["West Flanders"] = "West Flanders"
m.fullName["Wallonia"] = "Wallonia"
m.fullName["Hainaut"] = "Hainaut"
m.fullName["Walloon Brabant"] = "File:Drapeau Province BE Brabant Wallon"
m.fullName["Namur"] = "File:Flag province namur"
m.fullName["Liège"] = "the Province of Liège"
m.fullName["Luxembourg (Belgium)"] = "the Province of Luxembourg"

-- BOLIVIA
m.fullName["Beni"] = "beni"
m.fullName["Chuquisaca"] = "chuquisaca"
m.fullName["Cochabamba"] = "cochabamba"
m.fullName["La Paz"] = "La Paz"
m.fullName["Oruro"] = "Oruro"
m.fullName["Pando"] = "pando"
m.fullName["Potosí"] = "potosi"
m.fullName["Santa Cruz"] = "santacruz"
m.fullName["Tarija"] = "Tarija"

-- BRAZIL http://en.wikipedia.org/wiki/Template:Country_data_Brazil PENDING, names of flags in Portuguese

-- CANADA
m.fullName["Alberta"] = "Alberta"
m.fullName["British Columbia"] = "British Columbia"
m.fullName["Manitoba"] = "Manitoba"
m.fullName["New Brunswick"] = "New Brunswick"
m.fullName["Newfoundland and Labrador"] = "Newfoundland and Labrador"
m.fullName["Northwest Territories"] = "the Northwest Territories"
m.fullName["Nova Scotia"] = "Nova Scotia"
m.fullName["Nunavut"] = "Nunavut"
m.fullName["Ontario"] = "Ontario"
m.fullName["Prince Edward Island"] = "Prince Edward Island"
m.fullName["Quebec"] = "Quebec"
m.fullName["Saskatchewan"] = "Saskatchewan"
m.fullName["Yukon"] = "Yukon"

-- CHILE
m.fullName["Rapa Nui"] = "Rapa Nui, Chile"
m.fullName["Easter Island"] = "Rapa Nui, Chile"

-- ETHIOPIA - http://en.wikipedia.org/wiki/Flags_of_the_regions_of_Ethiopia
m.fullName["Oromia Region"] = "File:Et oromo"

-- GEORGIA
m.fullName["Abkhazia"] = "Abkhazia"
m.fullName["Adjara"] = "Adjara"
m.fullName["Tbilisi"] = "Tbilisi"

-- ITALY
m.fullName["Abruzzo"] = "Abruzzo"
m.fullName["Basilicata"] = "Basilicata"
m.fullName["Calabria"] = "Calabria"
m.fullName["Campania"] = "Campania"
m.fullName["Emilia-Romagna"] = "Emilia-Romagna"
m.fullName["Friuli-Venezia Giulia"] = "Friuli-Venezia Giulia"
m.fullName["Lazio"] = "Lazio"
m.fullName["Liguria"] = "Liguria"
m.fullName["Lombardy"] = "Lombardy"
m.fullName["Marche"] = "Marche"
m.fullName["Molise"] = "Molise"
m.fullName["Piedmont"] = "Piedmont"
m.fullName["Apulia"] = "Apulia"
m.fullName["Sardinia"] = "Sardinia"
m.fullName["Sicily"] = "Sicily"
m.fullName["Tuscany"] = "Tuscany"
m.fullName["Trentino-South Tyrol"] = "Trentino-South Tyrol"
m.fullName["Umbria"] = "Umbria"
m.fullName["Valle d'Aosta"] = "Valle d'Aosta"
m.fullName["Veneto"] = "Veneto"

-- MEXICO
m.fullName["Mexican Federal District"] = "Mexican Federal District"
m.fullName["Aguascalientes"] = "Aguascalientes"
m.fullName["Baja California"] = "Baja California"
m.fullName["Baja California Sur"] = "Baja California Sur"
m.fullName["Campeche"] = "Campeche"
m.fullName["Chiapas"] = "Chiapas"
m.fullName["Chihuahua"] = "Chihuahua"
m.fullName["Coahuila"] = "Coahuila"
m.fullName["Colima"] = "Colima"
m.fullName["Durango"] = "Durango"
m.fullName["Guanajuato"] = "Guanajuato"
m.fullName["Guerrero"] = "Guerrero"
m.fullName["Hidalgo"] = "Hidalgo"
m.fullName["Jalisco"] = "Jalisco"
m.fullName["Mexico (state)"] = "Mexico (state)"
m.fullName["Michoacan"] = "Michoacan"
m.fullName["Morelos"] = "Morelos"
m.fullName["Nayarit"] = "Nayarit"
m.fullName["Nuevo Leon"] = "Nuevo Leon"
m.fullName["Oaxaca"] = "Oaxaca"
m.fullName["Puebla"] = "Puebla"
m.fullName["Queretaro"] = "Queretaro"
m.fullName["Quintana Roo"] = "Quintana Roo"
m.fullName["San Luis Potosi"] = "San Luis Potosi"
m.fullName["Sinaloa"] = "Sinaloa"
m.fullName["Sonora"] = "Sonora"
m.fullName["Tabasco"] = "Tabasco"
m.fullName["Tamaulipas"] = "Tamaulipas"
m.fullName["Tlaxcala"] = "Tlaxcala"
m.fullName["Veracruz"] = "Veracruz"
m.fullName["Yucatan"] = "Yucatan"
m.fullName["Zacatecas"] = "Zacatecas"

-- MYANMAR -- http://en.wikipedia.org/wiki/Administrative_divisions_of_Burma
m.fullName["Kayah State"] = "Kayah State"

-- SPAIN
m.fullName["Andalucía"] = "Andalucía"
m.fullName["Aragon"] = "Aragon"
m.fullName["Asturias"] = "Asturias"
m.fullName["Balearic Islands"] = "the Balearic Islands"
m.fullName["Basque Country"] = "the Basque Country"
m.fullName["Canary Islands"] = "the Canary Islands"
m.fullName["Cantabria"] = "Cantabria"
m.fullName["Castile-La Mancha"] = "Castile-La Mancha"
m.fullName["Castile and León"] = "Castile and León"
m.fullName["Catalonia"] = "Catalonia"
m.fullName["Community of Madrid"] = "the Community of Madrid"
m.fullName["Extremadura"] = "Extremadura with COA"
m.fullName["Galicia"] = "Galicia"
m.fullName["La Rioja (Spain)"] = "La Rioja (with coat of arms)"
m.fullName["Region of Murcia"] = "the Region of Murcia"
m.fullName["Navarre"] = "Navarre"
m.fullName["Valencian Community"] = "the Valencian Community (2x3)"
m.fullName["Ceuta"] = "Ceuta"
m.fullName["Melilla"] = "Melilla"

-- TANZANIA
m.fullName["Zanzibar"] = "Zanzibar"

-- UNITED ARAB EMIRATES- pending

-- UNITED KINGDOM - http://en.wikipedia.org/wiki/Template:Country_data_United_Kingdom
m.variant["United Kingdom|civil"] = "Civil Ensign of the United Kingdom"
m.variant["United Kingdom|naval-RMAS"] = "British Royal Maritime Auxiliary Ensign"
m.fullName["England"] = "England"
m.fullName["Northern Ireland"] = "Northern Ireland"
m.fullName["Scotland"] = "Scotland"
m.fullName["Wales"] = "Wales"

-- UNITED STATES
m.fullName["Alabama"] = "Alabama"
m.fullName["Alaska"] = "Alaska"
m.fullName["Arizona"] = "Arizona"
m.fullName["Arkansas"] = "Arkansas"
m.fullName["California"] = "California"
m.fullName["Colorado"] = "Colorado"
m.fullName["Connecticut"] = "Connecticut"
m.fullName["Delaware"] = "Delaware"
m.fullName["Florida"] = "Florida"
m.fullName["Georgia (U.S. state)"] = "Georgia (U.S. state)"
m.fullName["Hawaii"] = "Hawaii"
m.fullName["Idaho"] = "Idaho"
m.fullName["Illinois"] = "Illinois"
m.fullName["Indiana"] = "Indiana"
m.fullName["Iowa"] = "Iowa"
m.fullName["Kansas"] = "Kansas"
m.fullName["Kentucky"] = "Kentucky"
m.fullName["Long Beach, California"] = "File:Flag of Long Beach, California.png"
m.fullName["Louisiana"] = "Louisiana"
m.fullName["Maine"] = "Maine"
m.fullName["Maryland"] = "Maryland"
m.fullName["Massachusetts"] = "Massachusetts"
m.fullName["Michigan"] = "Michigan"
m.fullName["Minnesota"] = "Minnesota"
m.fullName["Mississippi"] = "Mississippi"
m.fullName["Missouri"] = "Missouri"
m.fullName["Montana"] = "Montana"
m.fullName["Nebraska"] = "Nebraska"
m.fullName["Nevada"] = "Nevada"
m.fullName["New Hampshire"] = "New Hampshire"
m.fullName["New Jersey"] = "New Jersey"
m.fullName["New Mexico"] = "New Mexico"
m.fullName["New York (state)"] = "New York (state)"
m.fullName["North Carolina"] = "North Carolina"
m.fullName["North Dakota"] = "North Dakota"
m.fullName["Ohio"] = "Ohio"
m.fullName["Oklahoma"] = "Oklahoma"
m.fullName["Oregon"] = "Oregon"
m.fullName["Pennsylvania"] = "Pennsylvania"
m.fullName["Rhode Island"] = "Rhode Island"
m.fullName["South Carolina"] = "South Carolina"
m.fullName["South Dakota"] = "South Dakota"
m.fullName["Tennessee"] = "Tennessee"
m.fullName["Texas"] = "Texas"
m.fullName["Utah"] = "Utah"
m.fullName["Vermont"] = "Vermont"
m.fullName["Virginia"] = "Virginia"
m.fullName["Washington"] = "Washington"
m.fullName["West Virginia"] = "West Virginia"
m.fullName["Wisconsin"] = "Wisconsin"
m.fullName["Wyoming"] = "Wyoming"
m.fullName["Washington, D.C."] = "Washington, D.C."
m.fullName["American Samoa"] = "American Samoa"
m.fullName["Guam"] = "Guam"
m.fullName["Northern Mariana Islands"] = "the Northern Mariana Islands"
m.fullName["Puerto Rico"] = "Puerto Rico"
m.fullName["United States Virgin Islands"] = "the United States Virgin Islands"

-- 1.4 OTHER TERRITORIES NOT FITTING ABOVE

m.fullName["Azerbaijan (Iran)"] = "South Azerbaijan"
m.fullName["Balochistan, Afghanistan"] = "File:Bandera balutxistan Iranià"
m.fullName["Donetsk People's Republic"] = "File:New Donetsk Peoples Republic flag"
m.fullName["East Turkestan"] = "File:Kokbayraq flag"
m.fullName["Republic of Kosovo"] = "Kosovo"
m.fullName["Kurdistan"] = "Kurdistan"
m.fullName["Luhansk People's Republic"] = "the Lugansk People's Republic (Official)"
m.fullName["Maori"] = "File:Tino Rangatiratanga Maori sovereignty movement flag"
m.fullName["Morning Star flag"] = "File:Morning Star flag" -- ref West Papua (region) see http://en.wikipedia.org/wiki/Morning_Star_flag
m.fullName["Nagaland"] = "File:Unofficial flag of Nagaland" -- http://en.wikipedia.org/wiki/Naga_nationalism
m.fullName["Nagorno-Karabakh"] = "Nagorno-Karabakh"
m.fullName["Northern Cyprus"] = "the Turkish Republic of Northern Cyprus"
m.fullName["Occitania"] = "Occitania (with star)"
m.fullName["Republic of Lakotah"] = "File:Pine Ridge Flag"
m.fullName["Republic of South Maluku"] = "South Moluccas"
m.fullName["Sindhudesh"] = "Sindhudesh"
m.fullName["Somaliland"] = "Somaliland"
m.fullName["Southern Cameroons"] = "The Federal Republic of Southern Cameroons"
m.fullName["South Ossetia"] = "South Ossetia"
m.fullName["Tibet"] = "Tibet"
m.fullName["Transnistria"] = "Transnistria (state)"
m.fullName["Venda"] = "Venda"

-- 1.5 OTHER FLAGS SUPPORTED NOT FITTING ABOVE

m.fullName["Soviet Union"] = "the Soviet Union"
m.variant["the Soviet Union|1955"] = "File:Flag of the Soviet Union (1955-1980)"
m.fullName["SFR Yugoslavia"] = "SFR Yugoslavia"

m.fullName["Arabistan"] = "Arabistan" -- http://en.wikipedia.org/wiki/Arab_separatism_in_Khuzestan
m.fullName["Assyrian people"] = "Assyria"
m.fullName["Baster"] = "File:Rehobothflag"
m.fullName["Crimean Tatars"] = "the Crimean Tatar people"
m.fullName["Great Lakes Twa"] = "File:Bandera poble Batwa"
m.fullName["Iraqi Turkmens"] = "Iraq Turkmen Front"
m.fullName["Maasai people"] = "File:Bandera masai"
m.fullName["Mapuche"] = "the Mapuches"
m.fullName["Ogoni people"] = "the Ogoni people"
m.fullName["Shanti Bahini"] = "the Chittagong Hill Tracts"

-- 1.6 ALL VARIANTS AND LABELS
-- For variants see http://en.wikipedia.org/wiki/Category:Country_data_templates
-- ********** Don't copy these flags to LocaleData! **********

-- ANDORRA - http://en.wikipedia.org/wiki/Template:Country_data_Andorra
m.variant["Andorra|1806"] = "Flag of Andorra 1806"

-- AFGHANISTAN - http://en.wikipedia.org/wiki/Template:Country_data_Afghanistan
m.variant["Afghanistan|1901"] = "Flag of Afghanistan (1901–1919)"
m.variant["Afghanistan|1919"] = "Flag of Afghanistan (1919–1921)"

-- GERMANY - http://en.wikipedia.org/wiki/Template:Country_data_Germany
m.variant["Germany|empire"] = "File:Flag of the German Empire"
m.variant["Germany|Weimar"] = "File:Flag of Germany (3-2 aspect ratio)"
m.variant["Germany|1933"] = "File:National flag of Germany 1933-1935"
m.variant["Germany|Nazi"] = "File:Flag of German Reich (1935–1945)"
m.variant["Germany|EUA"] = "File:Flag of German Olympic Team 1960-1968"
m.variant["Germany|naval"] = "File:Naval Ensign of Germany"

-- GREECE - http://en.wikipedia.org/wiki/Template:Country_data_Greece
m.variant["Greece|old"] = "File:Flag of Greece (1822-1978)"
m.variant["Greece|1970"] = "File:Flag of Greece (1970-1975)"
m.variant["Greece|royal"] = "File:Hellenic Kingdom Flag 1935"
m.variant["Greece|otto"] = "File:Kingdom of Greece Flag (1833-1862)"
m.variant["Greece|royalnavy"] = "File:Hellenic Naval Ensign 1935"

-- ITALY -- https://en.wikipedia.org/wiki/Template:Country_data_Italy
m.variant["Italy|1861"] = "File:Flag of Italy (1861-1946)"
m.variant["Italy|civil"] = "File:Civil Ensign of Italy"
m.variant["Italy|naval"] = "File:Naval Ensign of Italy"

-- JAPAN -- https://en.wikipedia.org/wiki/Template:Country_data_Japan
m.variant["Japan|alt"] = "File:Merchant flag of Japan (1870)"
m.variant["Japan|naval"] = "File:Naval Ensign of Japan"

-- LIBYA -- https://en.wikipedia.org/wiki/Template%3ACountry_data_Libya
m.variant["Libya|1951"] = "File:Flag of Libya (1951)"
m.variant["Libya|1969"] = "File:Flag of Libya (1969–1972)"
m.variant["Libya|1972"] = "File:Flag of Libya (1972–1977)"
m.variant["Libya|1977"] = "File:Flag of Libya (1977-2011)"

-- NEW ZEALAND - https://en.wikipedia.org/wiki/Template:Country_data_New_Zealand
m.variant["New Zealand|civil"] = "File:Civil Ensign of New Zealand"
m.variant["New Zealand|naval-1941"] = "File:Naval Ensign of the United Kingdom"
m.variant["New Zealand|naval"] = "File:Naval Ensign of New Zealand"
m.variant["New Zealand|air force"] = "File:Ensign of the Royal New Zealand Air Force"

-- SOUTH AFRICA - https://en.wikipedia.org/wiki/Template:Country_data_South_Africa
m.variant["South Africa|1910"] = "File:South Africa Flag 1910-1912"
m.variant["South Africa|1912"] = "File:South Africa Flag 1912-1928"
m.variant["South Africa|1928"] = "File:Flag of South Africa 1928-1994"
m.variant["South Africa|naval-1922"] = "File:Naval Ensign of the United Kingdom"
m.variant["South Africa|naval-1946"] = "File:Naval ensign of South Africa (1946-1951)"
m.variant["South Africa|naval-1952"] = "File:Naval Ensign of South Africa (1952-1981)-2"
m.variant["South Africa|naval-1981"] = "File:Naval Ensign of South Africa (1981-1994)"
m.variant["South Africa|naval"] = "File:Naval Ensign of South Africa"
m.variant["South Africa|air force"] = "File:Ensign of the South African Air Force"

-- SPAIN -- https://en.wikipedia.org/wiki/Template:Country_data_Spain
m.variant["Spain|1506"] = "File:Flag of Cross of Burgundy"
m.variant["Spain|1701"] = "File:Bandera de España 1701-1760"
m.variant["Spain|1748"] = "File:Bandera de España 1760-1785"
m.variant["Spain|1785"] = "File:Flag of Spain (1785-1873 and 1875-1931)"
m.variant["Spain|1873"] = "File:Flag of the First Spanish Republic"
m.variant["Spain|1931"] = "File:Flag of Spain (1931 - 1939)"
m.variant["Spain|1938"] = "File:Flag of Spain (1938 - 1945)"
m.variant["Spain|1945"] = "File:Flag of Spain (1945 - 1977)"
m.variant["Spain|1977"] = "File:Flag of Spain (1977 - 1981)"
m.variant["Spain|civil"] = "File:BandMercante1785"

-- UNITED STATES -- http://en.wikipedia.org/wiki/Template:Country_data_United_States
m.variant["United States|1896"] = "File:US flag 45 stars"
m.variant["United States|1912"] = "File:US flag 48 stars"
m.variant["United States|1959"] = "File:US flag 49 stars"
m.variant["United States|coast guard"] = "File:Ensign of the United States Coast Guard"

-- ALL 2 LETTER CODES ISO 3166-1 alpha-2
-- See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

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

-- ALL 3 LETTER CODES ISO 3166-1 alpha-3 + IOC + FIFA
-- See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
-- http://en.wikipedia.org/wiki/Comparison_of_IOC,_FIFA,_and_ISO_3166_country_codes    

m.threeLetter["AFG"] = "Afghanistan"
m.threeLetter["ALA"] = "Åland"
m.threeLetter["ALB"] = "Albania"
m.threeLetter["DZA"] = "Algeria"
m.threeLetter["ALG"] = "Algeria"
m.threeLetter["ASA"] = "American Samoa"
m.threeLetter["ASM"] = "American Samoa"
m.threeLetter["AND"] = "Andorra"
m.threeLetter["ANG"] = "Angola"
m.threeLetter["AGO"] = "Angola"
m.threeLetter["AIA"] = "Anguilla"
m.threeLetter["ATA"] = "Antarctica"
m.threeLetter["ANT"] = "Antigua and Barbuda"
m.threeLetter["ATG"] = "Antigua and Barbuda"
m.threeLetter["ARG"] = "Argentina"
m.threeLetter["ARM"] = "Armenia"
m.threeLetter["ABW"] = "Aruba"
m.threeLetter["ARU"] = "Aruba"
m.threeLetter["AUS"] = "Australia"
m.threeLetter["AUT"] = "Austria"
m.threeLetter["AZE"] = "Azerbaijan"
m.threeLetter["BAH"] = "the Bahamas"
m.threeLetter["BHS"] = "the Bahamas"
m.threeLetter["BHR"] = "Bahrain"
-- m.threeLetter["BRN"] = "Bahrain" -- Brunei has the same ISO
m.threeLetter["BAN"] = "Bangladesh"
m.threeLetter["BGD"] = "Bangladesh"
m.threeLetter["BAR"] = "Barbados"
m.threeLetter["BRB"] = "Barbados"
m.threeLetter["BLR"] = "Belarus"
m.threeLetter["BEL"] = "Belgium"
m.threeLetter["BIZ"] = "Belize"
m.threeLetter["BLZ"] = "Belize"
m.threeLetter["BEN"] = "Benin"
m.threeLetter["BER"] = "Bermuda"
m.threeLetter["BMU"] = "Bermuda"
m.threeLetter["BTN"] = "Bhutan"
m.threeLetter["BHU"] = "Bhutan"
m.threeLetter["BOL"] = "Bolivia"
m.threeLetter["BES"] = "Bonaire"
m.threeLetter["BIH"] = "Bosnia and Herzegovina"
m.threeLetter["BOT"] = "Botswana"
m.threeLetter["BWA"] = "Botswana"
m.threeLetter["BRA"] = "Brazil"
m.threeLetter["IOT"] = "the British Indian Ocean Territory"
m.threeLetter["BRN"] = "Brunei"
m.threeLetter["BGR"] = "Bulgaria"
m.threeLetter["BUL"] = "Bulgaria"
m.threeLetter["BFA"] = "Burkina Faso"
m.threeLetter["BUR"] = "Burkina Faso"
m.threeLetter["BDI"] = "Burundi"
m.threeLetter["CAM"] = "Cambodia"
m.threeLetter["KHM"] = "Cambodia"
m.threeLetter["CMR"] = "Cameroon"
m.threeLetter["CAN"] = "Canada"
m.threeLetter["CPV"] = "Cape Verde"
m.threeLetter["CAY"] = "the Cayman Islands"
m.threeLetter["CYM"] = "the Cayman Islands"
m.threeLetter["CAF"] = "the Central African Republic"
m.threeLetter["CTA"] = "the Central African Republic"
m.threeLetter["CHA"] = "Chad"
m.threeLetter["TCD"] = "Chad"
m.threeLetter["CHI"] = "Chile"
m.threeLetter["CHL"] = "Chile"
m.threeLetter["CHN"] = "China"
m.threeLetter["CXR"] = "Christmas Island"
m.threeLetter["CCK"] = "the Cocos (Keeling) Islands"
m.threeLetter["COL"] = "Colombia"
m.threeLetter["COM"] = "Comoros"
m.threeLetter["COG"] = "the Republic of the Congo"
m.threeLetter["CGO"] = "the Republic of the Congo"
m.threeLetter["COD"] = "the Democratic Republic of the Congo"
m.threeLetter["DRC"] = "the Democratic Republic of the Congo"
m.threeLetter["COK"] = "Cook Islands"
m.threeLetter["CRC"] = "Costa Rica"
m.threeLetter["CRI"] = "Costa Rica"
m.threeLetter["CIV"] = "Côte d'Ivoire"
m.threeLetter["CRO"] = "Croatia"
m.threeLetter["HRV"] = "Croatia"
m.threeLetter["CUB"] = "Cuba"
m.threeLetter["CUW"] = "Curaçao"
m.threeLetter["CYP"] = "Cyprus"
m.threeLetter["CZE"] = "the Czech Republic"
m.threeLetter["DEN"] = "Denmark"
m.threeLetter["DNK"] = "Denmark"
m.threeLetter["DJI"] = "Djibouti"
m.threeLetter["DMA"] = "Dominica"
m.threeLetter["DOM"] = "Dominican Republic"
m.threeLetter["ECU"] = "Ecuador"
m.threeLetter["EGY"] = "Egypt"
m.threeLetter["ESA"] = "El Salvador"
m.threeLetter["SLV"] = "El Salvador"
m.threeLetter["GNQ"] = "Equatorial Guinea"
m.threeLetter["GEQ"] = "Equatorial Guinea"
m.threeLetter["EQG"] = "Equatorial Guinea"
m.threeLetter["ERI"] = "Eritrea"
m.threeLetter["EST"] = "Estonia"
m.threeLetter["ETH"] = "Ethiopia"
m.threeLetter["FLK"] = "the Falkland Islands"
m.threeLetter["FRO"] = "the Faroe Islands"
m.threeLetter["FIJ"] = "Fiji"
m.threeLetter["FJI"] = "Fiji"
m.threeLetter["FIN"] = "Finland"
m.threeLetter["FRA"] = "France"
m.threeLetter["GUF"] = "French Guiana"
m.threeLetter["PYF"] = "French Polynesia"
m.threeLetter["TAH"] = "French Polynesia"
m.threeLetter["ATF"] = "the French Southern and Antarctic Lands"
m.threeLetter["GAB"] = "Gabon"
m.threeLetter["GAM"] = "Gambia"
m.threeLetter["GMB"] = "Gambia"
m.threeLetter["GEO"] = "Georgia (country)"
m.threeLetter["DEU"] = "Germany"
m.threeLetter["GER"] = "Germany"
m.threeLetter["FRG"] = "West Germany"
m.threeLetter["GDR"] = "East Germany"
m.threeLetter["GHA"] = "Ghana"
m.threeLetter["GIB"] = "Gibraltar"
m.threeLetter["GRC"] = "Greece"
m.threeLetter["GRE"] = "Greece"
m.threeLetter["GRL"] = "Greenland"
m.threeLetter["GRD"] = "Grenada"
m.threeLetter["GRN"] = "Grenada"
m.threeLetter["GLP"] = "Guadeloupe"
m.threeLetter["GDL"] = "Guadeloupe"
m.threeLetter["GUM"] = "Guam"
m.threeLetter["GTM"] = "Guatemala"
m.threeLetter["GUA"] = "Guatemala"
m.threeLetter["GGY"] = "Guernsey"
m.threeLetter["GIN"] = "Guinea"
m.threeLetter["GUI"] = "Guinea"
m.threeLetter["GNB"] = "Guinea-Bissau"
m.threeLetter["GBS"] = "Guinea-Bissau"
m.threeLetter["GUY"] = "Guyana"
m.threeLetter["HAI"] = "Haiti"
m.threeLetter["HTI"] = "Haiti"
m.threeLetter["VAT"] = "the Vatican City"
m.threeLetter["HON"] = "Honduras"
m.threeLetter["HND"] = "Honduras"
m.threeLetter["HKG"] = "Hong Kong"
m.threeLetter["HUN"] = "Hungary"
m.threeLetter["ISL"] = "Iceland"
m.threeLetter["IND"] = "India"
m.threeLetter["IDN"] = "Indonesia"
m.threeLetter["INA"] = "Indonesia"
m.threeLetter["IRI"] = "Iran"
m.threeLetter["IRN"] = "Iran"
m.threeLetter["IRQ"] = "Iraq"
m.threeLetter["IRE"] = "Ireland"
m.threeLetter["IRL"] = "Ireland"
m.threeLetter["IMN"] = "the Isle of Man"
m.threeLetter["ISR"] = "Israel"
m.threeLetter["ITA"] = "Italy"
m.threeLetter["JAM"] = "Jamaica"
m.threeLetter["JPN"] = "Japan"
m.threeLetter["JEY"] = "Jersey"
m.threeLetter["JOR"] = "Jordan"
m.threeLetter["KAZ"] = "Kazakhstan"
m.threeLetter["KEN"] = "Kenya"
m.threeLetter["KIR"] = "Kiribati"
m.threeLetter["PRK"] = "North Korea"
m.threeLetter["KOR"] = "South Korea"
m.threeLetter["KOS"] = "Kosovo"
m.threeLetter["KUW"] = "Kuwait"
m.threeLetter["KWT"] = "Kuwait"
m.threeLetter["KGZ"] = "Kyrgyzstan"
m.threeLetter["LAO"] = "Laos"
m.threeLetter["LAT"] = "Latvia"
m.threeLetter["LVA"] = "Latvia"
m.threeLetter["LIB"] = "Lebanon"
m.threeLetter["LBN"] = "Lebanon"
m.threeLetter["LES"] = "Lesotho"
m.threeLetter["LSO"] = "Lesotho"
m.threeLetter["LBR"] = "Liberia"
m.threeLetter["LBA"] = "Libya"
m.threeLetter["LBY"] = "Libya"
m.threeLetter["LIE"] = "Liechtenstein"
m.threeLetter["LTU"] = "Lithuania"
m.threeLetter["LUX"] = "Luxembourg"
m.threeLetter["MAC"] = "Macau"
m.threeLetter["MKD"] = "North Macedonia"
m.threeLetter["MAD"] = "Madagascar"
m.threeLetter["MDG"] = "Madagascar"
m.threeLetter["MAW"] = "Malawi"
m.threeLetter["MWI"] = "Malawi"
m.threeLetter["MAS"] = "Malaysia"
m.threeLetter["MYS"] = "Malaysia"
m.threeLetter["MDV"] = "Maldives"
m.threeLetter["MLI"] = "Mali"
m.threeLetter["MLT"] = "Malta"
m.threeLetter["MHL"] = "the Marshall Islands"
m.threeLetter["MTQ"] = "Martinique"
m.threeLetter["MRT"] = "Mauritania"
m.threeLetter["MTN"] = "Mauritania"
m.threeLetter["MRI"] = "Mauritius"
m.threeLetter["MUS"] = "Mauritius"
m.threeLetter["MYT"] = "Mayotte (local)"
m.threeLetter["MEX"] = "Mexico"
m.threeLetter["FSM"] = "the Federated States of Micronesia"
m.threeLetter["MDA"] = "Moldova"
m.threeLetter["MCO"] = "Monaco"
m.threeLetter["MON"] = "Monaco"
m.threeLetter["MGL"] = "Mongolia"
m.threeLetter["MNG"] = "Mongolia"
m.threeLetter["MNE"] = "Montenegro"
m.threeLetter["MSR"] = "Montserrat"
m.threeLetter["MAR"] = "Morocco"
m.threeLetter["MOZ"] = "Mozambique"
m.threeLetter["MMR"] = "Myanmar"
m.threeLetter["MYA"] = "Myanmar"
m.threeLetter["NAM"] = "Namibia"
m.threeLetter["NRU"] = "Nauru"
m.threeLetter["NEP"] = "Nepal"
m.threeLetter["NPL"] = "Nepal"
m.threeLetter["NED"] = "Netherlands"
m.threeLetter["NLD"] = "Netherlands"
m.threeLetter["NCL"] = "New Caledonia"
m.threeLetter["NZL"] = "New Zealand"
m.threeLetter["NCA"] = "Nicaragua"
m.threeLetter["NIC"] = "Nicaragua"
m.threeLetter["NER"] = "Niger"
m.threeLetter["NIG"] = "Niger"
m.threeLetter["NGA"] = "Nigeria"
m.threeLetter["NGR"] = "Nigeria"
m.threeLetter["NIU"] = "Niue"
m.threeLetter["NFK"] = "Norfolk Island"
m.threeLetter["MNP"] = "the Northern Mariana Islands"
m.threeLetter["NOR"] = "Norway"
m.threeLetter["OMA"] = "Oman"
m.threeLetter["OMN"] = "Oman"
m.threeLetter["PAK"] = "Pakistan"
m.threeLetter["PLW"] = "Palau"
m.threeLetter["PLE"] = "Palestine"
m.threeLetter["PSE"] = "Palestine"
m.threeLetter["PAN"] = "Panama"
m.threeLetter["PNG"] = "Papua New Guinea"
m.threeLetter["PAR"] = "Paraguay"
m.threeLetter["PRY"] = "Paraguay"
m.threeLetter["PER"] = "Peru"
m.threeLetter["PHI"] = "Philippines"
m.threeLetter["PHL"] = "Philippines"
m.threeLetter["PCN"] = "the Pitcairn Islands"
m.threeLetter["POL"] = "Poland"
m.threeLetter["POR"] = "Portugal"
m.threeLetter["PRT"] = "Portugal"
m.threeLetter["PUR"] = "Puerto Rico"
m.threeLetter["PRI"] = "Puerto Rico"
m.threeLetter["QAT"] = "Qatar"
m.threeLetter["REU"] = "Réunion"
m.threeLetter["ROM"] = "Romania"
m.threeLetter["ROU"] = "Romania"
m.threeLetter["RUS"] = "Russian Federation"
m.threeLetter["RWA"] = "Rwanda"
m.threeLetter["BLM"] = "Saint Barthelemy (local)"
m.threeLetter["SKN"] = "Saint Kitts and Nevis"
m.threeLetter["KNA"] = "Saint Kitts and Nevis"
m.threeLetter["LCA"] = "Saint Lucia"
m.threeLetter["MAF"] = "Collectivity of Saint Martin"
m.threeLetter["SPM"] = "Saint-Pierre and Miquelon"
m.threeLetter["VCT"] = "Saint Vincent and the Grenadines"
m.threeLetter["VIN"] = "Saint Vincent and the Grenadines"
m.threeLetter["SAM"] = "Samoa"
m.threeLetter["WSM"] = "Samoa"
m.threeLetter["SMR"] = "San Marino"
m.threeLetter["STP"] = "Sao Tome and Principe"
m.threeLetter["KSA"] = "Saudi Arabia"
m.threeLetter["SAU"] = "Saudi Arabia"
m.threeLetter["SEN"] = "Senegal"
m.threeLetter["SRB"] = "Serbia"
m.threeLetter["SEY"] = "Seychelles"
m.threeLetter["SYC"] = "Seychelles"
m.threeLetter["SLE"] = "Sierra Leone"
m.threeLetter["SIN"] = "Singapore"
m.threeLetter["SGP"] = "Singapore"
m.threeLetter["SXM"] = "Sint Maarten"
m.threeLetter["SVK"] = "Slovakia"
m.threeLetter["SLO"] = "Slovenia"
m.threeLetter["SVN"] = "Slovenia"
m.threeLetter["SOL"] = "the Solomon Islands"
m.threeLetter["SLB"] = "the Solomon Islands"
m.threeLetter["SOM"] = "Somalia"
m.threeLetter["RSA"] = "South Africa"
m.threeLetter["ZAF"] = "South Africa"
m.threeLetter["SGS"] = "South Georgia and the South Sandwich Islands"
m.threeLetter["SSD"] = "South Sudan"
m.threeLetter["ESP"] = "Spain"
m.threeLetter["LKA"] = "Sri Lanka"
m.threeLetter["SRI"] = "Sri Lanka"
m.threeLetter["SDN"] = "Sudan"
m.threeLetter["SUD"] = "Sudan"
m.threeLetter["SUR"] = "Suriname"
m.threeLetter["SWZ"] = "Swaziland"
m.threeLetter["SWE"] = "Sweden"
m.threeLetter["CHE"] = "Switzerland"
m.threeLetter["SUI"] = "Switzerland"
m.threeLetter["SYR"] = "Syria"
m.threeLetter["TPE"] = "Chinese Taipei for Olympic games"
m.threeLetter["TWN"] = "Taiwan"
m.threeLetter["TJK"] = "Tajikistan"
m.threeLetter["TAN"] = "Tanzania"
m.threeLetter["TZA"] = "Tanzania"
m.threeLetter["THA"] = "Thailand"
m.threeLetter["TLS"] = "East Timor"
m.threeLetter["TOG"] = "Togo"
m.threeLetter["TGO"] = "Togo"
m.threeLetter["TKL"] = "Tokelau"
m.threeLetter["TGA"] = "Tonga"
m.threeLetter["TON"] = "Tonga"
m.threeLetter["TRI"] = "Trinidad and Tobago"
m.threeLetter["TTO"] = "Trinidad and Tobago"
m.threeLetter["TUN"] = "Tunisia"
m.threeLetter["TUR"] = "Turkey"
m.threeLetter["TKM"] = "Turkmenistan"
m.threeLetter["TCA"] = "the Turks and Caicos Islands"
m.threeLetter["TUV"] = "Tuvalu"
m.threeLetter["UGA"] = "Uganda"
m.threeLetter["UKR"] = "Ukraine"
m.threeLetter["ARE"] = "United Arab Emirates"
m.threeLetter["UAE"] = "United Arab Emirates"
m.threeLetter["GBR"] = "United Kingdom"
m.threeLetter["USA"] = "United States"
m.threeLetter["URU"] = "Uruguay"
m.threeLetter["URY"] = "Uruguay"
m.threeLetter["UZB"] = "Uzbekistan"
m.threeLetter["VAN"] = "Vanuatu"
m.threeLetter["VUT"] = "Vanuatu"
m.threeLetter["VEN"] = "Venezuela"
m.threeLetter["VIE"] = "Vietnam"
m.threeLetter["VNM"] = "Vietnam"
m.threeLetter["VGB"] = "the British Virgin Islands"
m.threeLetter["VGB"] = "the British Virgin Islands"
m.threeLetter["ISV"] = "the United States Virgin Islands"
m.threeLetter["VIR"] = "the United States Virgin Islands"
m.threeLetter["WLF"] = "Wallis and Futuna"
m.threeLetter["ESH"] = "Western Sahara"
m.threeLetter["YEM"] = "Yemen"
m.threeLetter["ZAI"] = "Zaire"
m.threeLetter["ZAM"] = "Zambia"
m.threeLetter["ZMB"] = "Zambia"
m.threeLetter["ZIM"] = "Zimbabwe"
m.threeLetter["ZWE"] = "Zimbabwe"

m.threeLetter["CAT"] = "Catalonia"
m.threeLetter["ENG"] = "England"
m.threeLetter["SCO"] = "Scotland"
m.threeLetter["WAL"] = "Wales"
m.threeLetter["NIR"] = "Northern Ireland"
m.threeLetter["URS"] = "the Soviet Union"

-- You don't want to touch this either!
return m