Jump to content

Module:Flags/LocaleData

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by QuimGil (talk | contribs) at 04:30, 4 June 2013 (Filling codes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local m = {}

m.threeLetter = {
-- 3 letter code list of countries and dependent territories according to http://en.wikipedia.org/wiki/ISO_3166-1
["Afghanistan"] = "AFG",
["Åland"] = "ALA",
["Albania"] = "ALB",
["Algeria"] = "DZA",
["American Samoa"] = "ASM",
["Andorra"] = "AND",
["Angola"] = "AGO",
["Anguilla"] = "AIA",
["Antarctica"] = "ATA",
["Antigua and Barbuda"] = "ATG",
["Argentina"] = "ARG",
["Armenia"] = "ARM",
["Aruba"] = "ABW",
["Australia"] = "AUS",
["Austria"] = "AUT",
["Azerbaijan"] = "AZE",
["the Bahamas"] = "BHS",
["Bahrain"] = "BHR",
["Bangladesh"] = "BGD",
["Barbados"] = "BRB",
["Belarus"] = "BLR",
["Belgium"] = "BEL",
["Belize"] = "BLZ",
["Benin"] = "BEN",
["Bermuda"] = "BMU",
["Bhutan"] = "BTN",
["Bolivia"] = "BOL",
["Bonaire"] = "BES",
["Bosnia and Herzegovina"] = "BIH",
["Botswana"] = "BWA",
["Brazil"] = "BRA",
["the British Indian Ocean Territory"] = "IOT",
["Brunei"] = "BRN",
["Bulgaria"] = "BGR",
["Burkina Faso"] = "BFA",
["Burundi"] = "BDI",
["Cambodia"] = "KHM",
["Cameroon"] = "CMR",
["Canada"] = "CAN",
["Cape Verde"] = "CPV",
["the Cayman Islands"] = "CYM",
["the Central African Republic"] = "CAF",
["Chad"] = "TCD",
["Chile"] = "CHL",
["China"] = "CHN",
["Christmas Island"] = "CXR",
["the Cocos (Keeling) Islands"] = "CCK",
["Colombia"] = "COL",
["Comoros"] = "COM",
["the Republic of the Congo"] = "COG",
["the Democratic Republic of the Congo"] = "COD",
["Cook Islands"] = "COK",
["Costa Rica"] = "CRI",
["Côte d'Ivoire"] = "CIV",
["Croatia"] = "HRV",
["Cuba"] = "CUB",
["Curaçao"] = "CUW",
["Cyprus"] = "CYP",
["the Czech Republic"] = "CZE",
["Denmark"] = "DNK",
["Djibouti"] = "DJI",
["Dominica"] = "DMA",
["Dominican Republic"] = "DOM",
["Ecuador"] = "ECU",
["Egypt"] = "EGY",
["El Salvador"] = "SLV",
["Equatorial Guinea"] = "GNQ",
["Eritrea"] = "ERI",
["Estonia"] = "EST",
["Ethiopia"] = "ETH",
["the Falkland Islands"] = "FLK",
["the Faroe Islands"] = "FRO",
["Fiji"] = "FJI",
["Finland"] = "FIN",
["France"] = "FRA",
["French Guiana"] = "GUF",
["French Polynesia"] = "PYF",
["the French Southern and Antarctic Lands"] = "ATF",
["Gabon"] = "GAB",
["Gambia"] = "GMB",
["Georgia"] = "GEO",
["Germany"] = "DEU",
["Ghana"] = "GHA",
["Gibraltar"] = "GIB",
["Greece"] = "GRC",
["Greenland"] = "",
["Grenada"] = "",
["Guadeloupe (local)"] = "",
["Guam"] = "",
["Guatemala"] = "",
["Guernsey"] = "",
["Guinea"] = "",
["Guinea-Bissau"] = "",
["Guyana"] = "",
["Haiti"] = "",
["the Vatican City"] = "",
["Honduras"] = "",
["Hong Kong"] = "",
["Hungary"] = "",
["Iceland"] = "",
["India"] = "",
["Indonesia"] = "",
["Iran"] = "",
["Iraq"] = "",
["Ireland"] = "",
["the Isle of Man"] = "",
["Israel"] = "",
["Italy"] = "",
["Jamaica"] = "",
["Japan"] = "",
["Jersey"] = "",
["Jordan"] = "",
["Kazakhstan"] = "",
["Kenya"] = "",
["Kiribati"] = "",
["North Korea"] = "",
["South Korea"] = "",
["Kuwait"] = "",
["Kyrgyzstan"] = "",
["Laos"] = "",
["Latvia"] = "",
["Lebanon"] = "",
["Lesotho"] = "",
["Liberia"] = "",
["Libya"] = "",
["Liechtenstein"] = "",
["Lithuania"] = "",
["Luxembourg"] = "",
["Macau"] = "",
["Macedonia"] = "",
["Madagascar"] = "",
["Malawi"] = "",
["Malaysia"] = "",
["Maldives"] = "",
["Mali"] = "",
["Malta"] = "",
["the Marshall Islands"] = "",
["Martinique"] = "",
["Mauritania"] = "",
["Mauritius"] = "",
["Mayotte (local)"] = "",
["Mexico"] = "",
["the Federated States of Micronesia"] = "",
["Moldova"] = "",
["Monaco"] = "",
["Mongolia"] = "",
["Montenegro"] = "",
["Montserrat"] = "",
["Morocco"] = "",
["Mozambique"] = "",
["Myanmar"] = "",
["Namibia"] = "",
["Nauru"] = "",
["Nepal"] = "",
["Netherlands"] = "",
["New Caledonia"] = "",
["New Zealand"] = "",
["Nicaragua"] = "",
["Niger"] = "",
["Nigeria"] = "",
["Niue"] = "",
["Norfolk Island"] = "",
["the Northern Mariana Islands"] = "",
["Norway"] = "",
["Oman"] = "",
["Pakistan"] = "",
["Palau"] = "",
["Palestine"] = "",
["Panama"] = "",
["Papua New Guinea"] = "",
["Paraguay"] = "",
["Peru"] = "",
["Philippines"] = "",
["the Pitcairn Islands"] = "",
["Poland"] = "",
["Portugal"] = "",
["Puerto Rico"] = "",
["Qatar"] = "",
["Réunion"] = "",
["Romania"] = "",
["Russian Federation"] = "",
["Rwanda"] = "",
["Saint Barthelemy (local)"] = "",
["Saint Kitts and Nevis"] = "",
["Saint Lucia"] = "",
["Saint-Martin (local)"] = "",
["Saint-Pierre and Miquelon"] = "",
["Saint Vincent and the Grenadines"] = "",
["Samoa"] = "",
["San Marino"] = "",
["Sao Tome and Principe"] = "",
["Saudi Arabia"] = "",
["Senegal"] = "",
["Serbia"] = "",
["Seychelles"] = "",
["Sierra Leone"] = "",
["Singapore"] = "",
["Sint Maarten"] = "",
["Slovakia"] = "", 
["Slovenia"] = "",
["the Solomon Islands"] = "",
["Somalia"] = "",
["South Africa"] = "",
["South Georgia and the South Sandwich Islands"] = "",
["South Sudan"] = "",
["Spain"] = "",
["Sri Lanka"] = "",
["Sudan"] = "",
["Suriname"] = "",
["Swaziland"] = "",
["Sweden"] = "",
["Switzerland"] = "",
["Syria"] = "",
["Taiwan"] = "",
["Tajikistan"] = "",
["Tanzania"] = "",
["Thailand"] = "",
["East Timor"] = "",
["Togo"] = "",
["Tokelau"] = "",
["Tonga"] = "",
["Trinidad and Tobago"] = "",
["Tunisia"] = "",
["Turkey"] = "",
["Turkmenistan"] = "",
["the Turks and Caicos Islands"] = "",
["Tuvalu"] = "",
["Uganda"] = "",
["Ukraine"] = "",
["United Arab Emirates"] = "",
["United Kingdom"] = "",
["United States"] = "",
["Uruguay"] = "",
["Uzbekistan"] = "",
["Vanuatu"] = "",
["Venezuela"] = "",
["Vietnam"] = "",
["the British Virgin Islands"] = "",
["the United States Virgin Islands"] = "",
["Wallis and Futuna"] = "",
["Western Sahara"] = "",
["Yemen"] = "",
["Zambia"] = "",
["Zimbabwe"] = "",
}

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

-- SPAIN
["Andalusia"] = "",
["Aragon"] = "",
["Asturias"] = "",
["the Balearic Islands"] = "",	
["Basque Country"] = "",
["the Canary Islands"] = "",
["Cantabria"] = "",
["Castile-La Mancha"] = "",
["Castile and León"] = "",
["Catalonia"] = "",
["the Community of Madrid"] = "",
["Extremadura"] = "",
["Galicia"] = "",
["La Rioja (with coat of arms)"] = "",
["the Region of Murcia"] = "",
["Navarre"] = "",
["the Land of Valencia (official)"] = "",
["Ceuta"] = "", -- Bug known in flag filename, reported: http://commons.wikimedia.org/wiki/File:Flag_Ceuta.svg
["Melilla"] = "",

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

}
return m