Module:Flags/MasterData: Difference between revisions

Content deleted Content added
mNo edit summary
No edit summary
 
(93 intermediate revisions by 16 users not shown)
Line 1:
-- You don't want to touch this. :)
local m = {}
 
-- Defining tables
m.fullName = {}
m.twoLetter = {}
Line 7 ⟶ 6:
m.variant = {}
 
-- Structure of the table:
-- Misc flags --- m.fullName[""] = ""
-- 1. Full names
m.fullName["African Union"] = ""
-- 1.1 International organizations
m.fullName["NATO"] = ""
-- 1.2 All territories ISO 3166-1
m.fullName["Western Sahara"] = ""
-- 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
-- AD, Andorra - http://en.wikipedia.org/wiki/Template:Country_data_Andorra
-- 1.1 INTERNATIONAL ORGANIZATIONS
m.fullName["Andorra"] = ""
m.variantfullName["Andorra|1806African Union"] = "Flag of AndorraAfrican 1806Union"
m.fullName["Arab League"] = "the Arab League"
m.fullName["Europe"] = "Europe"
m.fullName["NATO"] = "NATO"
 
-- 1.3 ALL TERRITORIES ISO 3166-1
-- AE, United Arab Emirates -- pending
-- 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"] = "the 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"] = "the 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"] = "the 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["Eswatini"] = "Eswatini"
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"] = "the 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"] = "the 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["São Tomé and Príncipe"] = "São Tomé and Príncipe"
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["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"] = "the United Arab Emirates"
m.fullName["United Kingdom"] = "the United Kingdom"
m.fullName["United States"] = "the 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
-- AF, Afghanistan - http://en.wikipedia.org/wiki/Template:Country_data_Afghanistan
-- For the subdivisions see http://en.wikipedia.org/wiki/ISO_3166-2 and
m.fullName["Afghanistan"] = ""
-- http://en.wikipedia.org/wiki/Category:Country_data_templates
m.variant["Afghanistan|1901"] = "Flag of Afghanistan (1901–1919)"
m.variant["Afghanistan|1919"] = "Flag of Afghanistan (1919–1921)"
 
-- AR, Argentina - http://en.wikipedia.org/wiki/Template:Country_data_Argentina subdivisions pending, filenames are in Spanish
 
-- AU, AustraliaARGENTINA - http://en.wikipedia.org/wiki/Template:Country_data_AustraliaCountry_data_Argentina subdivisions pending, filenames are in Spanish
m.fullName["Australia"] = ""
 
-- AUSTRALIA - http://en.wikipedia.org/wiki/Template:Country_data_Australia
m.fullName["the Australian Capital Territory"] = "Australian Capital Territory"
m.fullName["NewAustralian SouthCapital WalesTerritory"] = "the Australian Capital Territory"
m.fullName["theNew NorthernSouth TerritoryWales"] = "NorthernNew TerritorySouth Wales"
m.fullName["QueenslandNorthern Territory"] = "the Northern Territory"
m.fullName["South AustraliaQueensland"] = "Queensland"
m.fullName["TasmaniaSouth Australia"] = "South Australia"
m.fullName["Tasmania"] = "Tasmania"
m.fullName["Victoria (Australia)"] = "Victoria (Australia)"
m.fullName["Western Australia"] = "Western Australia"
 
-- BelgiumBELGIUM - http://en.wikipedia.org/wiki/Template:Country_data_Belgium
m.fullName["BelgiumBrussels-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["Belgium brussels"] = "Brussels-Capital Region" http://en.wikipedia.org/wiki/File:Flag_Belgium_brussels.svg
m.fullName["FlandersBeni"] = "Flemish Regionbeni"
m.fullName["AntwerpChuquisaca"] = "chuquisaca"
m.fullName["Cochabamba"] = "cochabamba"
-- m.fullName[""] = "Limburg (Belgium)" http://commons.wikimedia.org/wiki/File:Vlaams-limburg.png
m.fullName["La Paz"] = "La Paz"
-- m.fullName[""] = "Flemish Brabant" http://commons.wikimedia.org/wiki/File:Flemish-Brabant.svg
m.fullName["Oost-VlaanderenOruro"] = "East FlandersOruro"
m.fullName["West FlandersPando"] = "pando"
m.fullName["WalloniaPotosí"] = "potosi"
m.fullName["HainautSanta Cruz"] = "santacruz"
m.fullName["Tarija"] = "Tarija"
-- m.fullName[""] = "Walloon Brabant" http://en.wikipedia.org/wiki/File:Drapeau_Province_BE_Brabant_Wallon.svg
-- m.fullName["Namur"] = "" http://commons.wikimedia.org/wiki/File:Flag_province_namur.svg
m.fullName["the Province of Liège"] = "Liège"
m.fullName["the Province of Luxembourg"] = "Luxembourg (Belgium)"
 
-- BrazilBRAZIL http://en.wikipedia.org/wiki/Template:Country_data_Brazil PENDING, names of flags in Portuguese
 
-- CANADA
-- United Kingdom - http://en.wikipedia.org/wiki/Template:Country_data_United_Kingdom
m.fullName["United KingdomAlberta"] = "Alberta"
m.fullName["British Columbia"] = "British Columbia"
m.variant["United Kingdom|civil"] = "Civil Ensign of the United Kingdom"
m.fullName["Manitoba"] = "Manitoba"
m.variant["United Kingdom|naval-RMAS"] = "British Royal Maritime Auxiliary Ensign"
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["England"] = ""
m.fullName["NorthernRapa IrelandNui"] = "Rapa Nui, Chile"
m.fullName["ScotlandEaster Island"] = "Rapa Nui, Chile"
m.fullName["Wales"] = ""
 
-- ETHIOPIA - http://en.wikipedia.org/wiki/Flags_of_the_regions_of_Ethiopia
-- Table of translations.
m.fullName["Oromia Region"] = "File:Et oromo"
-- Format: ["english"] = "locale",
-- Some "english" labels have been modified to match the flag names in Commons.
-- Don't edit the "english" labels unless you know what you are doing!
-- Edit the "locale" labels only when they differ from "english".
-- Flag icons link to the article about "locale", or fallback to "english" if it's empty.
-- List of countries and dependent territories according to http://en.wikipedia.org/wiki/ISO_3166-1
 
-- GEORGIA
m.fullName["Åland"] = ""
m.fullName["AlbaniaAbkhazia"] = "Abkhazia"
m.fullName["AlgeriaAdjara"] = "Adjara"
m.fullName["American SamoaTbilisi"] = "Tbilisi"
m.fullName["Angola"] = ""
m.fullName["Anguilla"] = ""
m.fullName["Antarctica"] = ""
m.fullName["Antigua and Barbuda"] = ""
m.fullName["Argentina"] = ""
m.fullName["Armenia"] = ""
m.fullName["Aruba"] = ""
m.fullName["Austria"] = ""
m.fullName["Azerbaijan"] = ""
m.fullName["the Bahamas"] = ""
m.fullName["Bahrain"] = ""
m.fullName["Bangladesh"] = ""
m.fullName["Barbados"] = ""
m.fullName["Belarus"] = ""
m.fullName["Belize"] = ""
m.fullName["Benin"] = ""
m.fullName["Bermuda"] = ""
m.fullName["Bhutan"] = ""
m.fullName["Bolivia"] = ""
m.fullName["Bonaire"] = ""
m.fullName["Bosnia and Herzegovina"] = ""
m.fullName["Botswana"] = ""
m.fullName["Brazil"] = ""
m.fullName["the British Indian Ocean Territory"] = "British Indian Ocean Territory"
m.fullName["Brunei"] = ""
m.fullName["Bulgaria"] = ""
m.fullName["Burkina Faso"] = ""
m.fullName["Burundi"] = ""
m.fullName["Cambodia"] = ""
m.fullName["Cameroon"] = ""
m.fullName["Canada"] = ""
m.fullName["Cape Verde"] = ""
m.fullName["the Cayman Islands"] = "Cayman Islands"
m.fullName["the Central African Republic"] = "Central African Republic"
m.fullName["Chad"] = ""
m.fullName["Chile"] = ""
m.fullName["China"] = ""
m.fullName["Christmas Island"] = ""
m.fullName["the Cocos (Keeling) Islands"] = "Cocos (Keeling) Islands"
m.fullName["Colombia"] = ""
m.fullName["Comoros"] = ""
m.fullName["the Republic of the Congo"] = "Republic of the Congo"
m.fullName["the Democratic Republic of the Congo"] = "Democratic Republic of the Congo"
m.fullName["Cook Islands"] = ""
m.fullName["Costa Rica"] = ""
m.fullName["Côte d'Ivoire"] = ""
m.fullName["Croatia"] = ""
m.fullName["Cuba"] = ""
m.fullName["Curaçao"] = ""
m.fullName["Cyprus"] = ""
m.fullName["the Czech Republic"] = "Czech Republic"
m.fullName["Denmark"] = ""
m.fullName["Djibouti"] = ""
m.fullName["Dominica"] = ""
m.fullName["Dominican Republic"] = ""
m.fullName["Ecuador"] = ""
m.fullName["Egypt"] = ""
m.fullName["El Salvador"] = ""
m.fullName["Equatorial Guinea"] = ""
m.fullName["Eritrea"] = ""
m.fullName["Estonia"] = ""
m.fullName["Ethiopia"] = ""
m.fullName["the Falkland Islands"] = ""
m.fullName["the Faroe Islands"] = ""
m.fullName["Fiji"] = ""
m.fullName["Finland"] = ""
m.fullName["France"] = ""
m.fullName["French Guiana"] = ""
m.fullName["French Polynesia"] = ""
m.fullName["the French Southern and Antarctic Lands"] = ""
m.fullName["Gabon"] = ""
m.fullName["Gambia"] = ""
m.fullName["Georgia"] = ""
m.fullName["Germany"] = ""
m.fullName["Ghana"] = ""
m.fullName["Gibraltar"] = ""
m.fullName["Greece"] = ""
m.fullName["Greenland"] = ""
m.fullName["Grenada"] = ""
m.fullName["Guadeloupe (local)"] = ""
m.fullName["Guam"] = ""
m.fullName["Guatemala"] = ""
m.fullName["Guernsey"] = ""
m.fullName["Guinea"] = ""
m.fullName["Guinea-Bissau"] = ""
m.fullName["Guyana"] = ""
m.fullName["Haiti"] = ""
m.fullName["the Vatican City"] = ""
m.fullName["Honduras"] = ""
m.fullName["Hong Kong"] = ""
m.fullName["Hungary"] = ""
m.fullName["Iceland"] = ""
m.fullName["India"] = ""
m.fullName["Indonesia"] = ""
m.fullName["Iran"] = ""
m.fullName["Iraq"] = ""
m.fullName["Ireland"] = ""
m.fullName["the Isle of Man"] = ""
m.fullName["Israel"] = ""
m.fullName["Italy"] = ""
m.fullName["Jamaica"] = ""
m.fullName["Japan"] = ""
m.fullName["Jersey"] = ""
m.fullName["Jordan"] = ""
m.fullName["Kazakhstan"] = ""
m.fullName["Kenya"] = ""
m.fullName["Kiribati"] = ""
m.fullName["North Korea"] = ""
m.fullName["South Korea"] = ""
m.fullName["Kuwait"] = ""
m.fullName["Kyrgyzstan"] = ""
m.fullName["Laos"] = ""
m.fullName["Latvia"] = ""
m.fullName["Lebanon"] = ""
m.fullName["Lesotho"] = ""
m.fullName["Liberia"] = ""
m.fullName["Libya"] = ""
m.fullName["Liechtenstein"] = ""
m.fullName["Lithuania"] = ""
m.fullName["Luxembourg"] = ""
m.fullName["Macau"] = ""
m.fullName["Macedonia"] = ""
m.fullName["Madagascar"] = ""
m.fullName["Malawi"] = ""
m.fullName["Malaysia"] = ""
m.fullName["Maldives"] = ""
m.fullName["Mali"] = ""
m.fullName["Malta"] = ""
m.fullName["the Marshall Islands"] = ""
m.fullName["Martinique"] = ""
m.fullName["Mauritania"] = ""
m.fullName["Mauritius"] = ""
m.fullName["Mayotte (local)"] = ""
m.fullName["Mexico"] = ""
m.fullName["the Federated States of Micronesia"] = ""
m.fullName["Moldova"] = ""
m.fullName["Monaco"] = ""
m.fullName["Mongolia"] = ""
m.fullName["Montenegro"] = ""
m.fullName["Montserrat"] = ""
m.fullName["Morocco"] = ""
m.fullName["Mozambique"] = ""
m.fullName["Myanmar"] = ""
m.fullName["Namibia"] = ""
m.fullName["Nauru"] = ""
m.fullName["Nepal"] = ""
m.fullName["Netherlands"] = ""
m.fullName["New Caledonia"] = ""
m.fullName["New Zealand"] = ""
m.fullName["Nicaragua"] = ""
m.fullName["Niger"] = ""
m.fullName["Nigeria"] = ""
m.fullName["Niue"] = ""
m.fullName["Norfolk Island"] = ""
m.fullName["the Northern Mariana Islands"] = ""
m.fullName["Norway"] = ""
m.fullName["Oman"] = ""
m.fullName["Pakistan"] = ""
m.fullName["Palau"] = ""
m.fullName["Palestine"] = ""
m.fullName["Panama"] = ""
m.fullName["Papua New Guinea"] = ""
m.fullName["Paraguay"] = ""
m.fullName["Peru"] = ""
m.fullName["Philippines"] = ""
m.fullName["the Pitcairn Islands"] = ""
m.fullName["Poland"] = ""
m.fullName["Portugal"] = ""
m.fullName["Puerto Rico"] = ""
m.fullName["Qatar"] = ""
m.fullName["Réunion"] = ""
m.fullName["Romania"] = ""
m.fullName["Russian Federation"] = ""
m.fullName["Rwanda"] = ""
m.fullName["Saint Barthelemy (local)"] = ""
m.fullName["Saint Kitts and Nevis"] = ""
m.fullName["Saint Lucia"] = ""
m.fullName["Saint-Martin (local)"] = ""
m.fullName["Saint-Pierre and Miquelon"] = ""
m.fullName["Saint Vincent and the Grenadines"] = ""
m.fullName["Samoa"] = ""
m.fullName["San Marino"] = ""
m.fullName["Sao Tome and Principe"] = ""
m.fullName["Saudi Arabia"] = ""
m.fullName["Senegal"] = ""
m.fullName["Serbia"] = ""
m.fullName["Seychelles"] = ""
m.fullName["Sierra Leone"] = ""
m.fullName["Singapore"] = ""
m.fullName["Sint Maarten"] = ""
m.fullName["Slovakia"] = ""
m.fullName["Slovenia"] = ""
m.fullName["the Solomon Islands"] = ""
m.fullName["Somalia"] = ""
m.fullName["South Africa"] = ""
m.fullName["South Georgia and the South Sandwich Islands"] = ""
m.fullName["South Sudan"] = ""
m.fullName["Spain"] = ""
m.fullName["Sri Lanka"] = ""
m.fullName["Sudan"] = ""
m.fullName["Suriname"] = ""
m.fullName["Swaziland"] = ""
m.fullName["Sweden"] = ""
m.fullName["Switzerland"] = ""
m.fullName["Syria"] = ""
m.fullName["Taiwan"] = ""
m.fullName["Tajikistan"] = ""
m.fullName["Tanzania"] = ""
m.fullName["Thailand"] = ""
m.fullName["East Timor"] = ""
m.fullName["Togo"] = ""
m.fullName["Tokelau"] = ""
m.fullName["Tonga"] = ""
m.fullName["Trinidad and Tobago"] = ""
m.fullName["Tunisia"] = ""
m.fullName["Turkey"] = ""
m.fullName["Turkmenistan"] = ""
m.fullName["the Turks and Caicos Islands"] = ""
m.fullName["Tuvalu"] = ""
m.fullName["Uganda"] = ""
m.fullName["Ukraine"] = ""
m.fullName["United Arab Emirates"] = ""
m.fullName["United States"] = ""
m.fullName["Uruguay"] = ""
m.fullName["Uzbekistan"] = ""
m.fullName["Vanuatu"] = ""
m.fullName["Venezuela"] = ""
m.fullName["Vietnam"] = ""
m.fullName["the British Virgin Islands"] = ""
m.fullName["the United States Virgin Islands"] = ""
m.fullName["Wallis and Futuna"] = ""
m.fullName["Western Sahara"] = ""
m.fullName["Yemen"] = ""
m.fullName["Zambia"] = ""
m.fullName["Zimbabwe"] = ""
 
-- Subdivisions of ISO_3166-1 territories according to http://en.wikipedia.org/wiki/ISO_3166-2 --
-- Please add new entries alphabetically by ISO_3166-1 territory --
 
-- BOLIVIA
m.fullName["beni"] = "Beni"
m.fullName["chuquisaca"] = "Chuquisaca"
m.fullName["cochabamba"] = "Cochabamba"
m.fullName["La Paz"] = ""
m.fullName["Oruro"] = ""
m.fullName["pando"] = "Pando"
m.fullName["potosi"] = "Potosí"
m.fullName["santacruz"] = "Santa Cruz"
m.fullName["Tarija"] = "Tarija"
 
-- CANADA
m.fullName["Alberta"] = ""
m.fullName["British Columbia"] = ""
m.fullName["Manitoba"] = ""
m.fullName["New Brunswick"] = ""
m.fullName["Newfoundland and Labrador"] = ""
m.fullName["the Northwest Territories"] = "Northwest Territories"
m.fullName["Nova Scotia"] = ""
m.fullName["Nunavut"] = ""
m.fullName["Ontario"] = ""
m.fullName["Prince Edward Island"] = ""
m.fullName["Quebec"] = ""
m.fullName["Saskatchewan"] = ""
m.fullName["Yukon"] = ""
 
-- 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["PlaceholderFriuli-Venezia Giulia"] = "Friuli-Venezia Giulia" -- Flag yet to be uploaded on Commons
m.fullName["Lazio"] = "Lazio"
m.fullName["Liguria"] = "Liguria"
m.fullName["Lombardy"] = "Lombardia", "Lombardy"
m.fullName["Marche"] = "Marche"
m.fullName["Molise"] = "Molise"
m.fullName["Piedmont"] = "Piemonte", "Piedmont"
m.fullName["Apulia"] = "Puglia", "Apulia"
m.fullName["Sardinia"] = "Sardegna", "Sardinia"
m.fullName["Sicily"] = "Sicilia", "Sicily"
m.fullName["Tuscany"] = "Toscana", "Tuscany"
m.fullName["Trentino-South Tyrol"] = "Trentino-AltoSouth AdigeTyrol"
m.fullName["Umbria"] = "Umbria"
m.fullName["Valle d'Aosta"] = "Aosta Valley", "Valle d'Aosta"
m.fullName["Veneto"] = "Veneto"
 
-- MEXICO
m.fullName["Mexican Federal District"] = "DistritoMexican Federal (Mexico)", "Federal District (Mexico)"
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"] = "MichoacánMichoacan"
m.fullName["Morelos"] = "Morelos"
m.fullName["Nayarit"] = "Nayarit"
m.fullName["Nuevo Leon"] = "Nuevo LeónLeon"
m.fullName["Oaxaca"] = "Oaxaca"
m.fullName["Puebla"] = "Puebla"
m.fullName["Queretaro"] = "QuerétaroQueretaro"
m.fullName["Quintana Roo"] = "Quintana Roo"
m.fullName["San Luis Potosi"] = "San Luis Potosí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"] = "YucatánYucatan"
m.fullName["Zacatecas"] = "Zacatecas"
 
-- MYANMAR -- http://en.wikipedia.org/wiki/Administrative_divisions_of_Burma
m.fullName["Kayah State"] = "Kayah State"
 
-- SPAIN
m.fullName["AndalusiaAndalucía"] = "Andalucía", "Andalusia"
m.fullName["Aragon"] = "Aragón", "Aragon"
m.fullName["Asturias"] = "Principado de Asturias", "Asturias"
m.fullName["the Balearic Islands"] = "the Balearic Islands"
m.fullName["Basque Country"] = "Paísthe Vasco", "Basque Country", "Euskal Herria"
m.fullName["the Canary Islands"] = "the Canary Islands", "Canarias"
m.fullName["Cantabria"] = "Cantabria"
m.fullName["Castile-La Mancha"] = "Castilla La Mancha", "Castilla-La Mancha", "Castile-La Mancha"
m.fullName["Castile and León"] = "Castile and León", "Castilla y León"
m.fullName["Catalonia"] = "Catalunya", "CataluñaCatalonia"
m.fullName["the Community of Madrid"] = "Madrid",the "Comunidad de Madrid", "Community of Madrid"
m.fullName["Extremadura"] = "Extremadura with COA"
m.fullName["Galicia"] = "Galicia"
m.fullName["La Rioja (with coat of armsSpain)"] = "La Rioja (Spainwith coat of arms)"
m.fullName["the Region of Murcia"] = "the Region of Murcia"
m.fullName["Navarre"] = "Comunidad Foral de Navarra", "Navarra", "Nafarroako Foru Komunitatea", "Navarre"
m.fullName["the Valencian Community (2x3)"] = "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["LouisianaLong Beach, California"] = "File:Flag of Long Beach, California.png"
m.fullName["MaineLouisiana"] = "Louisiana"
m.fullName["MarylandMaine"] = "Maine"
m.fullName["MassachusettsMaryland"] = "Maryland"
m.fullName["MichiganMassachusetts"] = "Massachusetts"
m.fullName["MinnesotaMichigan"] = "Michigan"
m.fullName["MississippiMinnesota"] = "Minnesota"
m.fullName["MissouriMississippi"] = "Mississippi"
m.fullName["MontanaMissouri"] = "Missouri"
m.fullName["NebraskaMontana"] = "Montana"
m.fullName["NevadaNebraska"] = "Nebraska"
m.fullName["New HampshireNevada"] = "Nevada"
m.fullName["New JerseyHampshire"] = "New Hampshire"
m.fullName["New MexicoJersey"] = "New Jersey"
m.fullName["New YorkMexico"] = "New Mexico"
m.fullName["NorthNew CarolinaYork (state)"] = "New York (state)"
m.fullName["North DakotaCarolina"] = "North Carolina"
m.fullName["OhioNorth Dakota"] = "North Dakota"
m.fullName["OklahomaOhio"] = "Ohio"
m.fullName["OregonOklahoma"] = "Oklahoma"
m.fullName["PennsylvaniaOregon"] = "Oregon"
m.fullName["Rhode IslandPennsylvania"] = "Pennsylvania"
m.fullName["SouthRhode CarolinaIsland"] = "Rhode Island"
m.fullName["South DakotaCarolina"] = "South Carolina"
m.fullName["TennesseeSouth Dakota"] = "South Dakota"
m.fullName["TexasTennessee"] = "Tennessee"
m.fullName["UtahTexas"] = "Texas"
m.fullName["VermontUtah"] = "Utah"
m.fullName["VirginiaVermont"] = "Vermont"
m.fullName["WashingtonVirginia"] = "Virginia"
m.fullName["West VirginiaWashington"] = "Washington"
m.fullName["WisconsinWest Virginia"] = "West Virginia"
m.fullName["WyomingWisconsin"] = "Wisconsin"
m.fullName["Washington, D.C.Wyoming"] = "Wyoming"
m.fullName["Washington, D.C."] = "Washington, D.C."
m.fullName["American Samoa"] = "American Samoa"
m.fullName["Guam"] = "Guam"
m.fullName["the Northern Mariana Islands"] = "the Northern Mariana Islands"
m.fullName["Puerto Rico"] = "Puerto Rico"
m.fullName["the 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"] = "the 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"] = "the 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"] = "the 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"] = "the 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"] = "the 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"] = "the 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"] = "the 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"] = "São Tomé and Príncipe"
m.twoLetter["SV"] = "El Salvador"
m.twoLetter["SX"] = "Sint Maarten"
m.twoLetter["SY"] = "Syria"
m.twoLetter["SZ"] = "Eswatini"
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"] = "the United Kingdom"
m.twoLetter["US"] = "the 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
-- 2 letter code http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements --
-- 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.twoLetterthreeLetter["AndorraAFG"] = "ADAfghanistan"
m.twoLetterthreeLetter["United Arab EmiratesALA"] = "AEÅland"
m.twoLetterthreeLetter["AfghanistanALB"] = "AFAlbania"
m.twoLetterthreeLetter["Antigua and BarbudaDZA"] = "AGAlgeria"
m.twoLetterthreeLetter["AnguillaALG"] = "AIAlgeria"
m.twoLetterthreeLetter["AlbaniaASA"] = "ALAmerican Samoa"
m.twoLetterthreeLetter["ArmeniaASM"] = "AMAmerican Samoa"
m.twoLetterthreeLetter["AngolaAND"] = "AOAndorra"
m.twoLetterthreeLetter["AntarcticaANG"] = "AQAngola"
m.twoLetterthreeLetter["ArgentinaAGO"] = "ARAngola"
m.twoLetterthreeLetter["American SamoaAIA"] = "ASAnguilla"
m.twoLetterthreeLetter["AustriaATA"] = "ATAntarctica"
m.twoLetterthreeLetter["AustraliaANT"] = "AUAntigua and Barbuda"
m.twoLetterthreeLetter["ArubaATG"] = "AWAntigua and Barbuda"
m.twoLetterthreeLetter["ÅlandARG"] = "AXArgentina"
m.twoLetterthreeLetter["AzerbaijanARM"] = "AZArmenia"
m.twoLetterthreeLetter["Bosnia and HerzegovinaABW"] = "BAAruba"
m.twoLetterthreeLetter["BarbadosARU"] = "BBAruba"
m.twoLetterthreeLetter["BangladeshAUS"] = "BDAustralia"
m.twoLetterthreeLetter["BelgiumAUT"] = "BEAustria"
m.twoLetterthreeLetter["Burkina FasoAZE"] = "BFAzerbaijan"
m.twoLetterthreeLetter["BulgariaBAH"] = "BGthe Bahamas"
m.twoLetterthreeLetter["BahrainBHS"] = "BHthe Bahamas"
m.twoLetterthreeLetter["BurundiBHR"] = "BIBahrain"
-- m.threeLetter["BRN"] = "Bahrain" -- Brunei has the same ISO
m.twoLetter["Benin"] = "BJ"
m.threeLetter["BAN"] = "Bangladesh"
m.twoLetter["Saint Barthelemy (local)"] = "BL"
m.twoLetterthreeLetter["BermudaBGD"] = "BMBangladesh"
m.twoLetterthreeLetter["BruneiBAR"] = "BNBarbados"
m.twoLetterthreeLetter["BoliviaBRB"] = "BOBarbados"
m.twoLetterthreeLetter["BonaireBLR"] = "BQBelarus"
m.twoLetterthreeLetter["BrazilBEL"] = "BRBelgium"
m.twoLetterthreeLetter["the BahamasBIZ"] = "BSBelize"
m.twoLetterthreeLetter["BhutanBLZ"] = "BTBelize"
m.twoLetterthreeLetter["BotswanaBEN"] = "BWBenin"
m.twoLetterthreeLetter["BelarusBER"] = "BYBermuda"
m.twoLetterthreeLetter["BelizeBMU"] = "BZBermuda"
m.twoLetterthreeLetter["CanadaBTN"] = "CABhutan"
m.threeLetter["BHU"] = "Bhutan"
m.twoLetter["the Cocos (Keeling) Islands"] = "CC"
m.threeLetter["BOL"] = "Bolivia"
m.twoLetter["the Democratic Republic of the Congo"] = "CD"
m.threeLetter["BES"] = "Bonaire"
m.twoLetter["the Central African Republic"] = "CF"
m.threeLetter["BIH"] = "Bosnia and Herzegovina"
m.twoLetter["the Republic of the Congo"] = "CG"
m.twoLetterthreeLetter["SwitzerlandBOT"] = "CHBotswana"
m.twoLetterthreeLetter["Côte d'IvoireBWA"] = "CIBotswana"
m.twoLetterthreeLetter["Cook IslandsBRA"] = "CKBrazil"
m.threeLetter["IOT"] = "the British Indian Ocean Territory"
m.twoLetter["Chile"] = "CL"
m.twoLetterthreeLetter["CameroonBRN"] = "CMBrunei"
m.twoLetterthreeLetter["ChinaBGR"] = "CNBulgaria"
m.twoLetterthreeLetter["ColombiaBUL"] = "COBulgaria"
m.twoLetterthreeLetter["Costa RicaBFA"] = "CRBurkina Faso"
m.twoLetterthreeLetter["CubaBUR"] = "CUBurkina Faso"
m.twoLetterthreeLetter["Cape VerdeBDI"] = "CVBurundi"
m.twoLetterthreeLetter["CuraçaoCAM"] = "CWCambodia"
m.twoLetterthreeLetter["Christmas IslandKHM"] = "CXCambodia"
m.twoLetterthreeLetter["CyprusCMR"] = "CYCameroon"
m.twoLetterthreeLetter["the Czech RepublicCAN"] = "CZCanada"
m.twoLetterthreeLetter["GermanyCPV"] = "DECape Verde"
m.twoLetterthreeLetter["DjiboutiCAY"] = "DJthe Cayman Islands"
m.twoLetterthreeLetter["DenmarkCYM"] = "DKthe Cayman Islands"
m.threeLetter["CAF"] = "the Central African Republic"
m.twoLetter["Dominica"] = "DM"
m.threeLetter["CTA"] = "the Central African Republic"
m.twoLetter["Dominican Republic"] = "DO"
m.twoLetterthreeLetter["AlgeriaCHA"] = "DZChad"
m.twoLetterthreeLetter["EcuadorTCD"] = "ECChad"
m.twoLetterthreeLetter["EstoniaCHI"] = "EEChile"
m.twoLetterthreeLetter["EgyptCHL"] = "EGChile"
m.twoLetterthreeLetter["Western SaharaCHN"] = "EHChina"
m.twoLetterthreeLetter["EritreaCXR"] = "ERChristmas Island"
m.twoLetterthreeLetter["SpainCCK"] = "ESthe Cocos (Keeling) Islands"
m.twoLetterthreeLetter["EthiopiaCOL"] = "ETColombia"
m.twoLetterthreeLetter["FinlandCOM"] = "FIthe Comoros"
m.twoLetterthreeLetter["FijiCOG"] = "FJthe Republic of the Congo"
m.threeLetter["CGO"] = "the Republic of the Congo"
m.twoLetter["the Falkland Islands"] = "FK"
m.threeLetter["COD"] = "the Democratic Republic of the Congo"
m.twoLetter["Micronesia"] = "FM"
m.threeLetter["DRC"] = "the Democratic Republic of the Congo"
m.twoLetter["the Faroe Islands"] = "FO"
m.twoLetterthreeLetter["FranceCOK"] = "FRthe Cook Islands"
m.twoLetterthreeLetter["GabonCRC"] = "GACosta Rica"
m.twoLetterthreeLetter["United KingdomCRI"] = "GBCosta Rica"
m.twoLetterthreeLetter["GrenadaCIV"] = "GDCôte d'Ivoire"
m.twoLetterthreeLetter["GeorgiaCRO"] = "GECroatia"
m.twoLetterthreeLetter["French GuianaHRV"] = "GFCroatia"
m.twoLetterthreeLetter["GuernseyCUB"] = "GGCuba"
m.twoLetterthreeLetter["GhanaCUW"] = "GHCuraçao"
m.twoLetterthreeLetter["GibraltarCYP"] = "GICyprus"
m.twoLetterthreeLetter["GreenlandCZE"] = "GLthe Czech Republic"
m.twoLetterthreeLetter["GambiaDEN"] = "GMDenmark"
m.twoLetterthreeLetter["GuineaDNK"] = "GNDenmark"
m.twoLetterthreeLetter["Guadeloupe (local)DJI"] = "GPDjibouti"
m.twoLetterthreeLetter["Equatorial GuineaDMA"] = "GQDominica"
m.twoLetterthreeLetter["GreeceDOM"] = "GRthe Dominican Republic"
m.threeLetter["ECU"] = "Ecuador"
m.twoLetter["South Georgia and the South Sandwich Islands"] = "GS"
m.twoLetterthreeLetter["GuatemalaEGY"] = "GTEgypt"
m.twoLetterthreeLetter["GuamESA"] = "GUEl Salvador"
m.twoLetterthreeLetter["Guinea-BissauSLV"] = "GWEl Salvador"
m.twoLetterthreeLetter["GuyanaGNQ"] = "GYEquatorial Guinea"
m.twoLetterthreeLetter["Hong KongGEQ"] = "HKEquatorial Guinea"
m.twoLetterthreeLetter["HondurasEQG"] = "HNEquatorial Guinea"
m.twoLetterthreeLetter["CroatiaERI"] = "HREritrea"
m.twoLetterthreeLetter["HaitiEST"] = "HTEstonia"
m.twoLetterthreeLetter["HungaryETH"] = "HUEthiopia"
m.twoLetterthreeLetter["IndonesiaFLK"] = "IDthe Falkland Islands"
m.twoLetterthreeLetter["IrelandFRO"] = "IEthe Faroe Islands"
m.twoLetterthreeLetter["IsraelFIJ"] = "ILFiji"
m.twoLetterthreeLetter["the Isle of ManFJI"] = "IMFiji"
m.twoLetterthreeLetter["IndiaFIN"] = "INFinland"
m.threeLetter["FRA"] = "France"
m.twoLetter["the British Indian Ocean Territory"] = "IO"
m.twoLetterthreeLetter["IraqGUF"] = "IQFrench Guiana"
m.twoLetterthreeLetter["IranPYF"] = "IRFrench Polynesia"
m.twoLetterthreeLetter["IcelandTAH"] = "ISFrench Polynesia"
m.threeLetter["ATF"] = "the French Southern and Antarctic Lands"
m.twoLetter["Italy"] = "IT"
m.twoLetterthreeLetter["JerseyGAB"] = "JEGabon"
m.twoLetterthreeLetter["JamaicaGAM"] = "JMGambia"
m.twoLetterthreeLetter["JordanGMB"] = "JOGambia"
m.twoLetterthreeLetter["JapanGEO"] = "JPGeorgia (country)"
m.twoLetterthreeLetter["KenyaDEU"] = "KEGermany"
m.twoLetterthreeLetter["KyrgyzstanGER"] = "KGGermany"
m.twoLetterthreeLetter["CambodiaFRG"] = "KHWest Germany"
m.twoLetterthreeLetter["KiribatiGDR"] = "KIEast Germany"
m.twoLetterthreeLetter["ComorosGHA"] = "KMGhana"
m.twoLetterthreeLetter["Saint Kitts and NevisGIB"] = "KNGibraltar"
m.twoLetterthreeLetter["North KoreaGRC"] = "KPGreece"
m.twoLetterthreeLetter["South KoreaGRE"] = "KRGreece"
m.twoLetterthreeLetter["KuwaitGRL"] = "KWGreenland"
m.twoLetterthreeLetter["the Cayman IslandsGRD"] = "KYGrenada"
m.twoLetterthreeLetter["KazakhstanGRN"] = "KZGrenada"
m.twoLetterthreeLetter["LaosGLP"] = "LAGuadeloupe"
m.twoLetterthreeLetter["LebanonGDL"] = "LBGuadeloupe"
m.twoLetterthreeLetter["Saint LuciaGUM"] = "LCGuam"
m.twoLetterthreeLetter["LiechtensteinGTM"] = "LIGuatemala"
m.twoLetterthreeLetter["Sri LankaGUA"] = "LKGuatemala"
m.twoLetterthreeLetter["LiberiaGGY"] = "LRGuernsey"
m.twoLetterthreeLetter["LesothoGIN"] = "LSGuinea"
m.twoLetterthreeLetter["LithuaniaGUI"] = "LTGuinea"
m.twoLetterthreeLetter["LuxembourgGNB"] = "LUGuinea-Bissau"
m.twoLetterthreeLetter["LatviaGBS"] = "LVGuinea-Bissau"
m.twoLetterthreeLetter["LibyaGUY"] = "LYGuyana"
m.twoLetterthreeLetter["MoroccoHAI"] = "MAHaiti"
m.twoLetterthreeLetter["MonacoHTI"] = "MCHaiti"
m.twoLetterthreeLetter["MoldovaVAT"] = "MDthe Vatican City"
m.twoLetterthreeLetter["MontenegroHON"] = "MEHonduras"
m.twoLetterthreeLetter["Saint-Martin (local)HND"] = "MFHonduras"
m.twoLetterthreeLetter["MadagascarHKG"] = "MGHong Kong"
m.twoLetterthreeLetter["the Marshall IslandsHUN"] = "MHHungary"
m.twoLetterthreeLetter["MacedoniaISL"] = "MKIceland"
m.twoLetterthreeLetter["MaliIND"] = "MLIndia"
m.twoLetterthreeLetter["MyanmarIDN"] = "MMIndonesia"
m.twoLetterthreeLetter["MongoliaINA"] = "MNIndonesia"
m.twoLetterthreeLetter["MacauIRI"] = "MOIran"
m.twoLetterthreeLetter["the Northern Mariana IslandsIRN"] = "MPIran"
m.twoLetterthreeLetter["MartiniqueIRQ"] = "MQIraq"
m.twoLetterthreeLetter["MauritaniaIRE"] = "MRIreland"
m.twoLetterthreeLetter["MontserratIRL"] = "MSIreland"
m.twoLetterthreeLetter["MaltaIMN"] = "MTthe Isle of Man"
m.twoLetterthreeLetter["MauritiusISR"] = "MUIsrael"
m.twoLetterthreeLetter["MaldivesITA"] = "MVItaly"
m.twoLetterthreeLetter["MalawiJAM"] = "MWJamaica"
m.twoLetterthreeLetter["MexicoJPN"] = "MXJapan"
m.twoLetterthreeLetter["MalaysiaJEY"] = "MYJersey"
m.twoLetterthreeLetter["MozambiqueJOR"] = "MZJordan"
m.twoLetterthreeLetter["NamibiaKAZ"] = "NAKazakhstan"
m.twoLetterthreeLetter["New CaledoniaKEN"] = "NCKenya"
m.twoLetterthreeLetter["NigerKIR"] = "NEKiribati"
m.twoLetterthreeLetter["Norfolk IslandPRK"] = "NFNorth Korea"
m.twoLetterthreeLetter["NigeriaKOR"] = "NGSouth Korea"
m.twoLetterthreeLetter["NicaraguaKOS"] = "NIKosovo"
m.twoLetterthreeLetter["NetherlandsKUW"] = "NLKuwait"
m.twoLetterthreeLetter["NorwayKWT"] = "NOKuwait"
m.twoLetterthreeLetter["NepalKGZ"] = "NPKyrgyzstan"
m.twoLetterthreeLetter["NauruLAO"] = "NRLaos"
m.twoLetterthreeLetter["NiueLAT"] = "NULatvia"
m.twoLetterthreeLetter["New ZealandLVA"] = "NZLatvia"
m.twoLetterthreeLetter["OmanLIB"] = "OMLebanon"
m.twoLetterthreeLetter["PanamaLBN"] = "PALebanon"
m.twoLetterthreeLetter["PeruLES"] = "PELesotho"
m.twoLetterthreeLetter["French PolynesiaLSO"] = "PFLesotho"
m.twoLetterthreeLetter["Papua New GuineaLBR"] = "PGLiberia"
m.twoLetterthreeLetter["PhilippinesLBA"] = "PHLibya"
m.twoLetterthreeLetter["PakistanLBY"] = "PKLibya"
m.twoLetterthreeLetter["PolandLIE"] = "PLLiechtenstein"
m.threeLetter["LTU"] = "Lithuania"
m.twoLetter["Saint-Pierre and Miquelon"] = "PM"
m.twoLetterthreeLetter["the Pitcairn IslandsLUX"] = "PNLuxembourg"
m.twoLetterthreeLetter["Puerto RicoMAC"] = "PRMacau"
m.twoLetterthreeLetter["PalestineMKD"] = "PSNorth Macedonia"
m.twoLetterthreeLetter["PortugalMAD"] = "PTMadagascar"
m.twoLetterthreeLetter["PalauMDG"] = "PWMadagascar"
m.twoLetterthreeLetter["ParaguayMAW"] = "PYMalawi"
m.twoLetterthreeLetter["QatarMWI"] = "QAMalawi"
m.twoLetterthreeLetter["RéunionMAS"] = "REMalaysia"
m.twoLetterthreeLetter["RomaniaMYS"] = "ROMalaysia"
m.twoLetterthreeLetter["SerbiaMDV"] = "RSMaldives"
m.twoLetterthreeLetter["RussiaMLI"] = "RUMali"
m.twoLetterthreeLetter["RwandaMLT"] = "RWMalta"
m.twoLetterthreeLetter["Saudi ArabiaMHL"] = "SAthe Marshall Islands"
m.twoLetterthreeLetter["the Solomon IslandsMTQ"] = "SBMartinique"
m.twoLetterthreeLetter["SeychellesMRT"] = "SCMauritania"
m.twoLetterthreeLetter["SudanMTN"] = "SDMauritania"
m.twoLetterthreeLetter["SwedenMRI"] = "SEMauritius"
m.twoLetterthreeLetter["SingaporeMUS"] = "SGMauritius"
m.twoLetterthreeLetter["Saint HelenaMYT"] = "SHMayotte (local)"
m.twoLetterthreeLetter["SloveniaMEX"] = "SIMexico"
m.threeLetter["FSM"] = "the Federated States of Micronesia"
m.twoLetter["Slovakia"] = "SK"
m.twoLetterthreeLetter["Sierra LeoneMDA"] = "SLMoldova"
m.twoLetterthreeLetter["San MarinoMCO"] = "SMMonaco"
m.twoLetterthreeLetter["SenegalMON"] = "SNMonaco"
m.twoLetterthreeLetter["SomaliaMGL"] = "SOMongolia"
m.twoLetterthreeLetter["SurinameMNG"] = "SRMongolia"
m.twoLetterthreeLetter["South SudanMNE"] = "SSMontenegro"
m.twoLetterthreeLetter["Sao Tome and PrincipeMSR"] = "STMontserrat"
m.twoLetterthreeLetter["El SalvadorMAR"] = "SVMorocco"
m.twoLetterthreeLetter["Sint MaartenMOZ"] = "SXMozambique"
m.twoLetterthreeLetter["SyriaMMR"] = "SYMyanmar"
m.twoLetterthreeLetter["SwazilandMYA"] = "SZMyanmar"
m.threeLetter["NAM"] = "Namibia"
m.twoLetter["the Turks and Caicos Islands"] = "TC"
m.twoLetterthreeLetter["ChadNRU"] = "TDNauru"
m.threeLetter["NEP"] = "Nepal"
m.twoLetter["the French Southern and Antarctic Lands"] = "TF"
m.twoLetterthreeLetter["TogoNPL"] = "TGNepal"
m.twoLetterthreeLetter["ThailandNED"] = "THthe Netherlands"
m.twoLetterthreeLetter["TajikistanNLD"] = "TJthe Netherlands"
m.twoLetterthreeLetter["TokelauNCL"] = "TKNew Caledonia"
m.twoLetterthreeLetter["East TimorNZL"] = "TLNew Zealand"
m.twoLetterthreeLetter["TurkmenistanNCA"] = "TMNicaragua"
m.twoLetterthreeLetter["TunisiaNIC"] = "TNNicaragua"
m.twoLetterthreeLetter["TongaNER"] = "TONiger"
m.twoLetterthreeLetter["TurkeyNIG"] = "TRNiger"
m.twoLetterthreeLetter["Trinidad and TobagoNGA"] = "TTNigeria"
m.twoLetterthreeLetter["TuvaluNGR"] = "TVNigeria"
m.twoLetterthreeLetter["TaiwanNIU"] = "TWNiue"
m.twoLetterthreeLetter["TanzaniaNFK"] = "TZNorfolk Island"
m.threeLetter["MNP"] = "the Northern Mariana Islands"
m.twoLetter["Ukraine"] = "UA"
m.twoLetterthreeLetter["UgandaNOR"] = "UGNorway"
m.twoLetterthreeLetter["United StatesOMA"] = "USOman"
m.twoLetterthreeLetter["UruguayOMN"] = "UYOman"
m.twoLetterthreeLetter["UzbekistanPAK"] = "UZPakistan"
m.twoLetterthreeLetter["the Vatican CityPLW"] = "VAPalau"
m.threeLetter["PLE"] = "Palestine"
m.twoLetter["Saint Vincent and the Grenadines"] = "VC"
m.twoLetterthreeLetter["VenezuelaPSE"] = "VEPalestine"
m.twoLetterthreeLetter["the British Virgin IslandsPAN"] = "VGPanama"
m.threeLetter["PNG"] = "Papua New Guinea"
m.twoLetter["the United States Virgin Islands"] = "VI"
m.twoLetterthreeLetter["VietnamPAR"] = "VNParaguay"
m.twoLetterthreeLetter["VanuatuPRY"] = "VUParaguay"
m.twoLetterthreeLetter["Wallis and FutunaPER"] = "WFPeru"
m.twoLetterthreeLetter["SamoaPHI"] = "WSthe Philippines"
m.twoLetterthreeLetter["YemenPHL"] = "YEthe Philippines"
m.threeLetter["PCN"] = "the Pitcairn Islands"
m.twoLetter["Mayotte (local)"] = "YT"
m.twoLetterthreeLetter["South AfricaPOL"] = "ZAPoland"
m.twoLetterthreeLetter["ZambiaPOR"] = "ZMPortugal"
m.twoLetterthreeLetter["ZimbabwePRT"] = "ZWPortugal"
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"] = "São Tomé and Príncipe"
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"] = "Eswatini"
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"] = "the United Arab Emirates"
m.threeLetter["UAE"] = "the United Arab Emirates"
m.threeLetter["GBR"] = "the United Kingdom"
m.threeLetter["USA"] = "the 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"
-- 3 letter code list of countries and dependent territories according to http://en.wikipedia.org/wiki/ISO_3166-1
m.threeLetter["AfghanistanENG"] = "AFGEngland"
m.threeLetter["ÅlandSCO"] = "ALAScotland"
m.threeLetter["AlbaniaWAL"] = "ALBWales"
m.threeLetter["AlgeriaNIR"] = "DZANorthern Ireland"
m.threeLetter["American SamoaURS"] = "ASMthe Soviet Union"
m.threeLetter["Andorra"] = "AND"
m.threeLetter["Angola"] = "AGO"
m.threeLetter["Anguilla"] = "AIA"
m.threeLetter["Antarctica"] = "ATA"
m.threeLetter["Antigua and Barbuda"] = "ATG"
m.threeLetter["Argentina"] = "ARG"
m.threeLetter["Armenia"] = "ARM"
m.threeLetter["Aruba"] = "ABW"
m.threeLetter["Australia"] = "AUS"
m.threeLetter["Austria"] = "AUT"
m.threeLetter["Azerbaijan"] = "AZE"
m.threeLetter["the Bahamas"] = "BHS"
m.threeLetter["Bahrain"] = "BHR"
m.threeLetter["Bangladesh"] = "BGD"
m.threeLetter["Barbados"] = "BRB"
m.threeLetter["Belarus"] = "BLR"
m.threeLetter["Belgium"] = "BEL"
m.threeLetter["Belize"] = "BLZ"
m.threeLetter["Benin"] = "BEN"
m.threeLetter["Bermuda"] = "BMU"
m.threeLetter["Bhutan"] = "BTN"
m.threeLetter["Bolivia"] = "BOL"
m.threeLetter["Bonaire"] = "BES"
m.threeLetter["Bosnia and Herzegovina"] = "BIH"
m.threeLetter["Botswana"] = "BWA"
m.threeLetter["Brazil"] = "BRA"
m.threeLetter["the British Indian Ocean Territory"] = "IOT"
m.threeLetter["Brunei"] = "BRN"
m.threeLetter["Bulgaria"] = "BGR"
m.threeLetter["Burkina Faso"] = "BFA"
m.threeLetter["Burundi"] = "BDI"
m.threeLetter["Cambodia"] = "KHM"
m.threeLetter["Cameroon"] = "CMR"
m.threeLetter["Canada"] = "CAN"
m.threeLetter["Cape Verde"] = "CPV"
m.threeLetter["the Cayman Islands"] = "CYM"
m.threeLetter["the Central African Republic"] = "CAF"
m.threeLetter["Chad"] = "TCD"
m.threeLetter["Chile"] = "CHL"
m.threeLetter["China"] = "CHN"
m.threeLetter["Christmas Island"] = "CXR"
m.threeLetter["the Cocos (Keeling) Islands"] = "CCK"
m.threeLetter["Colombia"] = "COL"
m.threeLetter["Comoros"] = "COM"
m.threeLetter["the Republic of the Congo"] = "COG"
m.threeLetter["the Democratic Republic of the Congo"] = "COD"
m.threeLetter["Cook Islands"] = "COK"
m.threeLetter["Costa Rica"] = "CRI"
m.threeLetter["Côte d'Ivoire"] = "CIV"
m.threeLetter["Croatia"] = "HRV"
m.threeLetter["Cuba"] = "CUB"
m.threeLetter["Curaçao"] = "CUW"
m.threeLetter["Cyprus"] = "CYP"
m.threeLetter["the Czech Republic"] = "CZE"
m.threeLetter["Denmark"] = "DNK"
m.threeLetter["Djibouti"] = "DJI"
m.threeLetter["Dominica"] = "DMA"
m.threeLetter["Dominican Republic"] = "DOM"
m.threeLetter["Ecuador"] = "ECU"
m.threeLetter["Egypt"] = "EGY"
m.threeLetter["El Salvador"] = "SLV"
m.threeLetter["Equatorial Guinea"] = "GNQ"
m.threeLetter["Eritrea"] = "ERI"
m.threeLetter["Estonia"] = "EST"
m.threeLetter["Ethiopia"] = "ETH"
m.threeLetter["the Falkland Islands"] = "FLK"
m.threeLetter["the Faroe Islands"] = "FRO"
m.threeLetter["Fiji"] = "FJI"
m.threeLetter["Finland"] = "FIN"
m.threeLetter["France"] = "FRA"
m.threeLetter["French Guiana"] = "GUF"
m.threeLetter["French Polynesia"] = "PYF"
m.threeLetter["the French Southern and Antarctic Lands"] = "ATF"
m.threeLetter["Gabon"] = "GAB"
m.threeLetter["Gambia"] = "GMB"
m.threeLetter["Georgia"] = "GEO"
m.threeLetter["Germany"] = "DEU"
m.threeLetter["Ghana"] = "GHA"
m.threeLetter["Gibraltar"] = "GIB"
m.threeLetter["Greece"] = "GRC"
m.threeLetter["Greenland"] = "GRL"
m.threeLetter["Grenada"] = "GRD"
m.threeLetter["Guadeloupe (local)"] = "GLP"
m.threeLetter["Guam"] = "GUM"
m.threeLetter["Guatemala"] = "GTM"
m.threeLetter["Guernsey"] = "GGY"
m.threeLetter["Guinea"] = "GIN"
m.threeLetter["Guinea-Bissau"] = "GNB"
m.threeLetter["Guyana"] = "GUY"
m.threeLetter["Haiti"] = "HTI"
m.threeLetter["the Vatican City"] = "VAT"
m.threeLetter["Honduras"] = "HND"
m.threeLetter["Hong Kong"] = "HKG"
m.threeLetter["Hungary"] = "HUN"
m.threeLetter["Iceland"] = "ISL"
m.threeLetter["India"] = "IND"
m.threeLetter["Indonesia"] = "IDN"
m.threeLetter["Iran"] = "IRN"
m.threeLetter["Iraq"] = "IRQ"
m.threeLetter["Ireland"] = "IRL"
m.threeLetter["the Isle of Man"] = "IMN"
m.threeLetter["Israel"] = "ISR"
m.threeLetter["Italy"] = "ITA"
m.threeLetter["Jamaica"] = "JAM"
m.threeLetter["Japan"] = "JPN"
m.threeLetter["Jersey"] = "JEY"
m.threeLetter["Jordan"] = "JOR"
m.threeLetter["Kazakhstan"] = "KAZ"
m.threeLetter["Kenya"] = "KEN"
m.threeLetter["Kiribati"] = "KIR"
m.threeLetter["North Korea"] = "PRK"
m.threeLetter["South Korea"] = "KOR"
m.threeLetter["Kuwait"] = "KWT"
m.threeLetter["Kyrgyzstan"] = "KGZ"
m.threeLetter["Laos"] = "LAO"
m.threeLetter["Latvia"] = "LVA"
m.threeLetter["Lebanon"] = "LBN"
m.threeLetter["Lesotho"] = "LSO"
m.threeLetter["Liberia"] = "LBR"
m.threeLetter["Libya"] = "LBY"
m.threeLetter["Liechtenstein"] = "LIE"
m.threeLetter["Lithuania"] = "LTU"
m.threeLetter["Luxembourg"] = "LUX"
m.threeLetter["Macau"] = "MAC"
m.threeLetter["Macedonia"] = "MKD"
m.threeLetter["Madagascar"] = "MDG"
m.threeLetter["Malawi"] = "MWI"
m.threeLetter["Malaysia"] = "MYS"
m.threeLetter["Maldives"] = "MDV"
m.threeLetter["Mali"] = "MLI"
m.threeLetter["Malta"] = "MLT"
m.threeLetter["the Marshall Islands"] = "MHL"
m.threeLetter["Martinique"] = "MTQ"
m.threeLetter["Mauritania"] = "MRT"
m.threeLetter["Mauritius"] = "MUS"
m.threeLetter["Mayotte (local)"] = "MYT"
m.threeLetter["Mexico"] = "MEX"
m.threeLetter["the Federated States of Micronesia"] = "FSM"
m.threeLetter["Moldova"] = "MDA"
m.threeLetter["Monaco"] = "MCO"
m.threeLetter["Mongolia"] = "MNG"
m.threeLetter["Montenegro"] = "MNE"
m.threeLetter["Montserrat"] = "MSR"
m.threeLetter["Morocco"] = "MAR"
m.threeLetter["Mozambique"] = "MOZ"
m.threeLetter["Myanmar"] = "MMR"
m.threeLetter["Namibia"] = "NAM"
m.threeLetter["Nauru"] = "NRU"
m.threeLetter["Nepal"] = "NPL"
m.threeLetter["Netherlands"] = "NLD"
m.threeLetter["New Caledonia"] = "NCL"
m.threeLetter["New Zealand"] = "NZL"
m.threeLetter["Nicaragua"] = "NIC"
m.threeLetter["Niger"] = "NER"
m.threeLetter["Nigeria"] = "NGA"
m.threeLetter["Niue"] = "NIU"
m.threeLetter["Norfolk Island"] = "NFK"
m.threeLetter["the Northern Mariana Islands"] = "MNP"
m.threeLetter["Norway"] = "NOR"
m.threeLetter["Oman"] = "OMN"
m.threeLetter["Pakistan"] = "PAK"
m.threeLetter["Palau"] = "PLW"
m.threeLetter["Palestine"] = "PSE"
m.threeLetter["Panama"] = "PAN"
m.threeLetter["Papua New Guinea"] = "PNG"
m.threeLetter["Paraguay"] = "PRY"
m.threeLetter["Peru"] = "PER"
m.threeLetter["Philippines"] = "PHL"
m.threeLetter["the Pitcairn Islands"] = "PCN"
m.threeLetter["Poland"] = "POL"
m.threeLetter["Portugal"] = "PRT"
m.threeLetter["Puerto Rico"] = "PRI"
m.threeLetter["Qatar"] = "QAT"
m.threeLetter["Réunion"] = "REU"
m.threeLetter["Romania"] = "ROU"
m.threeLetter["Russian Federation"] = "RUS"
m.threeLetter["Rwanda"] = "RWA"
m.threeLetter["Saint Barthelemy (local)"] = "BLM"
m.threeLetter["Saint Kitts and Nevis"] = "KNA"
m.threeLetter["Saint Lucia"] = "LCA"
m.threeLetter["Saint-Martin (local)"] = "MAF"
m.threeLetter["Saint-Pierre and Miquelon"] = "SPM"
m.threeLetter["Saint Vincent and the Grenadines"] = "VCT"
m.threeLetter["Samoa"] = "WSM"
m.threeLetter["San Marino"] = "SMR"
m.threeLetter["Sao Tome and Principe"] = "STP"
m.threeLetter["Saudi Arabia"] = "SAU"
m.threeLetter["Senegal"] = "SEN"
m.threeLetter["Serbia"] = "SRB"
m.threeLetter["Seychelles"] = "SYC"
m.threeLetter["Sierra Leone"] = "SLE"
m.threeLetter["Singapore"] = "SGP"
m.threeLetter["Sint Maarten"] = "SXM"
m.threeLetter["Slovakia"] = "SVK"
m.threeLetter["Slovenia"] = "SVN"
m.threeLetter["the Solomon Islands"] = "SLB"
m.threeLetter["Somalia"] = "SOM"
m.threeLetter["South Africa"] = "ZAF"
m.threeLetter["South Georgia and the South Sandwich Islands"] = "SGS"
m.threeLetter["South Sudan"] = "SSD"
m.threeLetter["Spain"] = "ESP"
m.threeLetter["Sri Lanka"] = "LKA"
m.threeLetter["Sudan"] = "SDN"
m.threeLetter["Suriname"] = "SUR"
m.threeLetter["Swaziland"] = "SWZ"
m.threeLetter["Sweden"] = "SWE"
m.threeLetter["Switzerland"] = "CHE"
m.threeLetter["Syria"] = "SYR"
m.threeLetter["Taiwan"] = "TWN"
m.threeLetter["Tajikistan"] = "TJK"
m.threeLetter["Tanzania"] = "TZA"
m.threeLetter["Thailand"] = "THA"
m.threeLetter["East Timor"] = "TLS"
m.threeLetter["Togo"] = "TGO"
m.threeLetter["Tokelau"] = "TKL"
m.threeLetter["Tonga"] = "TON"
m.threeLetter["Trinidad and Tobago"] = "TTO"
m.threeLetter["Tunisia"] = "TUN"
m.threeLetter["Turkey"] = "TUR"
m.threeLetter["Turkmenistan"] = "TKM"
m.threeLetter["the Turks and Caicos Islands"] = "TCA"
m.threeLetter["Tuvalu"] = "TUV"
m.threeLetter["Uganda"] = "UGA"
m.threeLetter["Ukraine"] = "UKR"
m.threeLetter["United Arab Emirates"] = "ARE"
m.threeLetter["United Kingdom"] = "GBR"
m.threeLetter["United States"] = "USA"
m.threeLetter["Uruguay"] = "URY"
m.threeLetter["Uzbekistan"] = "UZB"
m.threeLetter["Vanuatu"] = "VUT"
m.threeLetter["Venezuela"] = "VEN"
m.threeLetter["Vietnam"] = "VNM"
m.threeLetter["the British Virgin Islands"] = "VGB"
m.threeLetter["the United States Virgin Islands"] = "VIR"
m.threeLetter["Wallis and Futuna"] = "WLF"
m.threeLetter["Western Sahara"] = "ESH"
m.threeLetter["Yemen"] = "YEM"
m.threeLetter["Zambia"] = "ZMB"
m.threeLetter["Zimbabwe"] = "ZWE"
 
-- You don't want to touch this either!
return m