No edit summary |
mNo edit summary |
||
Line 1,129: | Line 1,129: | ||
}, | }, | ||
['world'] = { | ['world'] = { | ||
name = ' | name = 'International', | ||
img = 'File:World.png' | img = 'File:World.png' | ||
}, | }, |
Revision as of 13:54, 2 October 2023
Documentation for this module may be created at Module:Flags/MasterData/doc
-- There are four tables: -- data (contains flag images. Should have one entry per image) -- twoLetter (two-letter country codes as per ISO 3166-1 alpha-2) -- threeLetter (three-letter country codes) -- aliases (redirects to the appropriate index in the data table) -- This table includes: -- ISO 3166-1 alpha-2 -- ISO 3166-1 alpha-2 User-assigned Code Elements -- ISO 3166-1 alpha-2 Exceptional Reservations -- ISO 3166-1 alpha-2 Traditional Reservations -- ISO 3166-2:GB -- Other local data = { -- ISO 3166-1 alpha-2 ['andorra'] = { name = 'Andorra', img = 'File:ad.png' }, ['unitedarabemirates'] = { name = 'United Arab Emirates', img = 'File:ae.png' }, ['afghanistan'] = { name = 'Afghanistan', img = 'File:af.png' }, ['antiguaandbarbuda'] = { name = 'Antigua and Barbuda', img = 'File:ag.png' }, ['anguilla'] = { name = 'Anguilla', img = 'File:ai.png' }, ['albania'] = { name = 'Albania', img = 'File:al.png' }, ['armenia'] = { name = 'Armenia', img = 'File:am.png' }, ['angola'] = { name = 'Angola', img = 'File:ao.png' }, ['antarctica'] = { name = 'Antarctica', img = 'File:aq.png' }, ['argentina'] = { name = 'Argentina', img = 'File:ar.png' }, ['americansamoa'] = { name = 'American Samoa', img = 'File:as.png' }, ['ascensionisland'] = { name = 'Ascension Island', img = 'File:ac.png' }, ['austria'] = { name = 'Austria', img = 'File:at.png' }, ['australia'] = { name = 'Australia', img = 'File:au.png' }, ['aruba'] = { name = 'Aruba', img = 'File:aw.png' }, ['ålandislands'] = { name = 'Åland Islands', img = 'File:ax.png' }, ['azerbaijan'] = { name = 'Azerbaijan', img = 'File:az.png' }, ['bosniaandherzegovina'] = { name = 'Bosnia and Herzegovina', img = 'File:ba.png' }, ['barbados'] = { name = 'Barbados', img = 'File:bb.png' }, ['bangladesh'] = { name = 'Bangladesh', img = 'File:bd.png' }, ['belgium'] = { name = 'Belgium', img = 'File:be.png' }, ['burkinafaso'] = { name = 'Burkina Faso', img = 'File:bf.png' }, ['bulgaria'] = { name = 'Bulgaria', img = 'File:bg.png' }, ['bahrain'] = { name = 'Bahrain', img = 'File:bh.png' }, ['burundi'] = { name = 'Burundi', img = 'File:bi.png' }, ['benin'] = { name = 'Benin', img = 'File:bj.png' }, ['saintbarthélemy'] = { name = 'Saint Barthélemy', img = 'File:bl.png' }, ['bermuda'] = { name = 'Bermuda', img = 'File:bm.png' }, ['brunei'] = { name = 'Brunei', img = 'File:bn.png' }, ['bolivia'] = { name = 'Bolivia', img = 'File:bo.png' }, ['bonaire,sinteustatiusandsaba'] = { name = 'Bonaire, Sint Eustatius and Saba', img = 'File:bq.png' }, ['brazil'] = { name = 'Brazil', img = 'File:br.png' }, ['bahamas'] = { name = 'Bahamas', img = 'File:bs.png' }, ['bhutan'] = { name = 'Bhutan', img = 'File:bt.png' }, ['bouvetisland'] = { name = 'Bouvet Island', img = 'File:bv.png' }, ['botswana'] = { name = 'Botswana', img = 'File:bw.png' }, ['belarus'] = { name = 'Belarus', img = 'File:by.png' }, ['belize'] = { name = 'Belize', img = 'File:bz.png' }, ['canada'] = { name = 'Canada', img = 'File:ca.png' }, ['cocos(keeling)islands'] = { name = 'Cocos (Keeling) Islands', img = 'File:cc.png' }, ['congo,democraticrepublicofthe'] = { name = 'Democratic Republic of the Congo', img = 'File:cd.png' }, ['centralafricanrepublic'] = { name = 'Central African Republic', img = 'File:cf.png' }, ['congo'] = { name = 'Congo', img = 'File:cg.png' }, ['switzerland'] = { name = 'Switzerland', img = 'File:ch.png' }, ["côted'ivoire"] = { name = "Côte d'Ivoire", img = 'File:ci.png' }, ['cookislands'] = { name = 'Cook Islands', img = 'File:ck.png' }, ['chile'] = { name = 'Chile', img = 'File:cl.png' }, ['cameroon'] = { name = 'Cameroon', img = 'File:cm.png' }, ['china'] = { name = 'China', img = 'File:cn.png' }, ['colombia'] = { name = 'Colombia', img = 'File:co.png' }, ['costarica'] = { name = 'Costa Rica', img = 'File:cr.png' }, ['cuba'] = { name = 'Cuba', img = 'File:cu.png' }, ['caboverde'] = { name = 'Cabo Verde', img = 'File:cv.png' }, ['curaçao'] = { name = 'Curaçao', img = 'File:cw.png' }, ['christmasisland'] = { name = 'Christmas Island', img = 'File:cx.png' }, ['cyprus'] = { name = 'Cyprus', img = 'File:cy.png' }, ['czechia'] = { name = 'Czechia', img = 'File:cz.png' }, ['germany'] = { name = 'Germany', img = 'File:de.png' }, ['djibouti'] = { name = 'Djibouti', img = 'File:dj.png' }, ['denmark'] = { name = 'Denmark', img = 'File:dk.png' }, ['dominica'] = { name = 'Dominica', img = 'File:dm.png' }, ['dominicanrepublic'] = { name = 'Dominican Republic', img = 'File:do.png' }, ['algeria'] = { name = 'Algeria', img = 'File:dz.png' }, ['ecuador'] = { name = 'Ecuador', img = 'File:ec.png' }, ['estonia'] = { name = 'Estonia', img = 'File:ee.png' }, ['egypt'] = { name = 'Egypt', img = 'File:eg.png' }, ['westernsahara'] = { name = 'Western Sahara', img = 'File:eh.png' }, ['eritrea'] = { name = 'Eritrea', img = 'File:er.png' }, ['spain'] = { name = 'Spain', img = 'File:es.png' }, ['ethiopia'] = { name = 'Ethiopia', img = 'File:et.png' }, ['finland'] = { name = 'Finland', img = 'File:fi.png' }, ['fiji'] = { name = 'Fiji', img = 'File:fj.png' }, ['falklandislands'] = { name = 'Falkland Islands', img = 'File:fk.png' }, ['federatedstatesofmicronesia'] = { name = 'Federated States of Micronesia', img = 'File:fm.png' }, ['faroeislands'] = { name = 'Faroe Islands', img = 'File:fo.png' }, ['france'] = { name = 'France', img = 'File:fr.png' }, ['gabon'] = { name = 'Gabon', img = 'File:ga.png' }, ['unitedkingdom'] = { name = 'United Kingdom', img = 'File:gb.png' }, ['grenada'] = { name = 'Grenada', img = 'File:gd.png' }, ['georgia'] = { name = 'Georgia', img = 'File:ge.png' }, ['frenchguiana'] = { name = 'French Guiana', img = 'File:gf.png' }, ['guernsey'] = { name = 'Guernsey', img = 'File:gg.png' }, ['ghana'] = { name = 'Ghana', img = 'File:gh.png' }, ['gibraltar'] = { name = 'Gibraltar', img = 'File:gi.png' }, ['greenland'] = { name = 'Greenland', img = 'File:gl.png' }, ['gambia'] = { name = 'Gambia', img = 'File:gm.png' }, ['guinea'] = { name = 'Guinea', img = 'File:gn.png' }, ['guadeloupe'] = { name = 'Guadeloupe', img = 'File:gp.png' }, ['equatorialguinea'] = { name = 'Equatorial Guinea', img = 'File:gq.png' }, ['greece'] = { name = 'Greece', img = 'File:gr.png' }, ['southgeorgiaandthesouthsandwichislands'] = { name = 'South Georgia and the South Sandwich Islands', img = 'File:gs.png' }, ['guatemala'] = { name = 'Guatemala', img = 'File:gt.png' }, ['guam'] = { name = 'Guam', img = 'File:gu.png' }, ['guinea-bissau'] = { name = 'Guinea-Bissau', img = 'File:gw.png' }, ['guyana'] = { name = 'Guyana', img = 'File:gy.png' }, ['hongkong'] = { name = 'Hong Kong', img = 'File:hk.png' }, ['heardislandandmcdonaldislands'] = { name = 'Heard Island and McDonald Islands', img = 'File:hm.png' }, ['honduras'] = { name = 'Honduras', img = 'File:hn.png' }, ['croatia'] = { name = 'Croatia', img = 'File:hr.png' }, ['haiti'] = { name = 'Haiti', img = 'File:ht.png' }, ['hungary'] = { name = 'Hungary', img = 'File:hu.png' }, ['indonesia'] = { name = 'Indonesia', img = 'File:id.png' }, ['ireland'] = { name = 'Ireland', img = 'File:ie.png' }, ['israel'] = { name = 'Israel', img = 'File:il.png' }, ['isleofman'] = { name = 'Isle of Man', img = 'File:im.png' }, ['india'] = { name = 'India', img = 'File:in.png' }, ['britishindianoceanterritory'] = { name = 'British Indian Ocean Territory', img = 'File:io.png' }, ['iraq'] = { name = 'Iraq', img = 'File:iq.png' }, ['iran'] = { name = 'Iran', img = 'File:ir.png' }, ['iceland'] = { name = 'Iceland', img = 'File:is.png' }, ['italy'] = { name = 'Italy', img = 'File:it.png' }, ['jersey'] = { name = 'Jersey', img = 'File:je.png' }, ['jamaica'] = { name = 'Jamaica', img = 'File:jm.png' }, ['jordan'] = { name = 'Jordan', img = 'File:jo.png' }, ['japan'] = { name = 'Japan', img = 'File:jp.png' }, ['kenya'] = { name = 'Kenya', img = 'File:ke.png' }, ['kyrgyzstan'] = { name = 'Kyrgyzstan', img = 'File:kg.png' }, ['cambodia'] = { name = 'Cambodia', img = 'File:kh.png' }, ['kiribati'] = { name = 'Kiribati', img = 'File:ki.png' }, ['comoros'] = { name = 'Comoros', img = 'File:km.png' }, ['saintkittsandnevis'] = { name = 'Saint Kitts and Nevis', img = 'File:kn.png' }, ['northkorea'] = { name = 'North Korea', img = 'File:kp.png' }, ['southkorea'] = { name = 'South Korea', img = 'File:kr.png' }, ['kuwait'] = { name = 'Kuwait', img = 'File:kw.png' }, ['caymanislands'] = { name = 'Cayman Islands', img = 'File:ky.png' }, ['kazakhstan'] = { name = 'Kazakhstan', img = 'File:kz.png' }, ['laos'] = { name = 'Laos', img = 'File:la.png' }, ['lebanon'] = { name = 'Lebanon', img = 'File:lb.png' }, ['saintlucia'] = { name = 'Saint Lucia', img = 'File:lc.png' }, ['liechtenstein'] = { name = 'Liechtenstein', img = 'File:li.png' }, ['srilanka'] = { name = 'Sri Lanka', img = 'File:lk.png' }, ['liberia'] = { name = 'Liberia', img = 'File:lr.png' }, ['lesotho'] = { name = 'Lesotho', img = 'File:ls.png' }, ['lithuania'] = { name = 'Lithuania', img = 'File:lt.png' }, ['luxembourg'] = { name = 'Luxembourg', img = 'File:lu.png' }, ['latvia'] = { name = 'Latvia', img = 'File:lv.png' }, ['libya'] = { name = 'Libya', img = 'File:ly.png' }, ['morocco'] = { name = 'Morocco', img = 'File:ma.png' }, ['monaco'] = { name = 'Monaco', img = 'File:mc.png' }, ['moldova'] = { name = 'Moldova', img = 'File:md.png' }, ['montenegro'] = { name = 'Montenegro', img = 'File:me.png' }, ['saintmartin(frenchpart)'] = { name = 'Saint Martin (French part)', img = 'File:mf.png' }, ['madagascar'] = { name = 'Madagascar', img = 'File:mg.png' }, ['marshallislands'] = { name = 'Marshall Islands', img = 'File:mh.png' }, ['northmacedonia'] = { name = 'North Macedonia', img = 'File:mk.png' }, ['mali'] = { name = 'Mali', img = 'File:ml.png' }, ['myanmar'] = { name = 'Myanmar', img = 'File:mm.png' }, ['mongolia'] = { name = 'Mongolia', img = 'File:mn.png' }, ['macau'] = { name = 'Macau', img = 'File:mo.png' }, ['northernmarianaislands'] = { name = 'Northern Mariana Islands', img = 'File:mp.png' }, ['martinique'] = { name = 'Martinique', img = 'File:mq.png' }, ['mauritania'] = { name = 'Mauritania', img = 'File:mr.png' }, ['montserrat'] = { name = 'Montserrat', img = 'File:ms.png' }, ['malta'] = { name = 'Malta', img = 'File:mt.png' }, ['mauritius'] = { name = 'Mauritius', img = 'File:mu.png' }, ['maldives'] = { name = 'Maldives', img = 'File:mv.png' }, ['malawi'] = { name = 'Malawi', img = 'File:mw.png' }, ['mexico'] = { name = 'Mexico', img = 'File:mx.png' }, ['malaysia'] = { name = 'Malaysia', img = 'File:my.png' }, ['mozambique'] = { name = 'Mozambique', img = 'File:mz.png' }, ['namibia'] = { name = 'Namibia', img = 'File:na.png' }, ['newcaledonia'] = { name = 'New Caledonia', img = 'File:nc.png' }, ['niger'] = { name = 'Niger', img = 'File:ne.png' }, ['norfolkisland'] = { name = 'Norfolk Island', img = 'File:nf.png' }, ['nigeria'] = { name = 'Nigeria', img = 'File:ng.png' }, ['nicaragua'] = { name = 'Nicaragua', img = 'File:ni.png' }, ['netherlands'] = { name = 'Netherlands', img = 'File:nl.png' }, ['norway'] = { name = 'Norway', img = 'File:no.png' }, ['nepal'] = { name = 'Nepal', img = 'File:np.png' }, ['nauru'] = { name = 'Nauru', img = 'File:nr.png' }, ['niue'] = { name = 'Niue', img = 'File:nu.png' }, ['newzealand'] = { name = 'New Zealand', img = 'File:nz.png' }, ['oman'] = { name = 'Oman', img = 'File:om.png' }, ['panama'] = { name = 'Panama', img = 'File:pa.png' }, ['peru'] = { name = 'Peru', img = 'File:pe.png' }, ['frenchpolynesia'] = { name = 'French Polynesia', img = 'File:pf.png' }, ['papuanewguinea'] = { name = 'Papua New Guinea', img = 'File:pg.png' }, ['philippines'] = { name = 'Philippines', img = 'File:ph.png' }, ['pakistan'] = { name = 'Pakistan', img = 'File:pk.png' }, ['poland'] = { name = 'Poland', img = 'File:pl.png' }, ['saintpierreandmiquelon'] = { name = 'Saint Pierre and Miquelon', img = 'File:pm.png' }, ['pitcairn'] = { name = 'Pitcairn', img = 'File:pn.png' }, ['puertorico'] = { name = 'Puerto Rico', img = 'File:pr.png' }, ['palestine'] = { name = 'Palestine', img = 'File:ps.png' }, ['portugal'] = { name = 'Portugal', img = 'File:pt.png' }, ['palau'] = { name = 'Palau', img = 'File:pw.png' }, ['paraguay'] = { name = 'Paraguay', img = 'File:py.png' }, ['qatar'] = { name = 'Qatar', img = 'File:qa.png' }, ['réunion'] = { name = 'Réunion', img = 'File:re.png' }, ['romania'] = { name = 'Romania', img = 'File:ro.png' }, ['serbia'] = { name = 'Serbia', img = 'File:rs.png' }, ['russia'] = { name = 'Russia', img = 'File:ru.png' }, ['rwanda'] = { name = 'Rwanda', img = 'File:rw.png' }, ['saudiarabia'] = { name = 'Saudi Arabia', img = 'File:sa.png' }, ['solomonislands'] = { name = 'Solomon Islands', img = 'File:sb.png' }, ['seychelles'] = { name = 'Seychelles', img = 'File:sc.png' }, ['sudan'] = { name = 'Sudan', img = 'File:sd.png' }, ['sweden'] = { name = 'Sweden', img = 'File:se.png' }, ['singapore'] = { name = 'Singapore', img = 'File:sg.png' }, ['sainthelena'] = { name = 'Saint Helena', img = 'File:sh.png' }, ['slovenia'] = { name = 'Slovenia', img = 'File:si.png' }, ['svalbardandjanmayen'] = { name = 'Svalbard and Jan Mayen', img = 'File:sj.png' }, ['slovakia'] = { name = 'Slovakia', img = 'File:sk.png' }, ['sierraleone'] = { name = 'Sierra Leone', img = 'File:sl.png' }, ['sanmarino'] = { name = 'San Marino', img = 'File:sm.png' }, ['senegal'] = { name = 'Senegal', img = 'File:sn.png' }, ['somalia'] = { name = 'Somalia', img = 'File:so.png' }, ['suriname'] = { name = 'Suriname', img = 'File:sr.png' }, ['southsudan'] = { name = 'South Sudan', img = 'File:ss.png' }, ['saotomeandprincipe'] = { name = 'Sao Tome and Principe', img = 'File:st.png' }, ['elsalvador'] = { name = 'El Salvador', img = 'File:sv.png' }, ['sintmaarten(dutchpart)'] = { name = 'Sint Maarten (Dutch part)', img = 'File:sx.png' }, ['syria'] = { name = 'Syria', img = 'File:sy.png' }, ['eswatini'] = { name = 'Eswatini', img = 'File:sz.png' }, ['turksandcaicosislands'] = { name = 'Turks and Caicos Islands', img = 'File:tc.png' }, ['chad'] = { name = 'Chad', img = 'File:td.png' }, ['frenchsouthernterritories'] = { name = 'French Southern Territories', img = 'File:tf.png' }, ['togo'] = { name = 'Togo', img = 'File:tg.png' }, ['thailand'] = { name = 'Thailand', img = 'File:th.png' }, ['tajikistan'] = { name = 'Tajikistan', img = 'File:tj.png' }, ['tokelau'] = { name = 'Tokelau', img = 'File:tk.png' }, ['timor-leste'] = { name = 'Timor-Leste', img = 'File:tl.png' }, ['turkmenistan'] = { name = 'Turkmenistan', img = 'File:tm.png' }, ['tunisia'] = { name = 'Tunisia', img = 'File:tn.png' }, ['tonga'] = { name = 'Tonga', img = 'File:to.png' }, ['turkey'] = { name = 'Turkey', img = 'File:tr.png' }, ['tristandacunha'] = { name = 'Tristan da Cunha', img = 'File:sh-ta.png' }, ['trinidadandtobago'] = { name = 'Trinidad and Tobago', img = 'File:tt.png' }, ['tuvalu'] = { name = 'Tuvalu', img = 'File:tv.png' }, ['taiwan'] = { name = 'Taiwan', img = 'File:tw.png' }, ['tanzania'] = { name = 'Tanzania', img = 'File:tz.png' }, ['ukraine'] = { name = 'Ukraine', img = 'File:ua.png' }, ['uganda'] = { name = 'Uganda', img = 'File:ug.png' }, ['unitedstatesminoroutlyingislands'] = { name = 'United States Minor Outlying Islands', img = 'File:um.png' }, ['unitedstates'] = { name = 'United States', img = 'File:us.png' }, ['uruguay'] = { name = 'Uruguay', img = 'File:uy.png' }, ['uzbekistan'] = { name = 'Uzbekistan', img = 'File:uz.png' }, ['vaticancity'] = { name = 'Vatican City', img = 'File:va.png' }, ['saintvincentandthegrenadines'] = { name = 'Saint Vincent and the Grenadines', img = 'File:vc.png' }, ['venezuela'] = { name = 'Venezuela', img = 'File:ve.png' }, ['virginislands(british)'] = { name = 'Virgin Islands (British)', img = 'File:vg.png' }, ['virginislands(u.s.)'] = { name = 'Virgin Islands (U.S.)', img = 'File:vi.png' }, ['vietnam'] = { name = 'Vietnam', img = 'File:vn.png' }, ['vanuatu'] = { name = 'Vanuatu', img = 'File:vu.png' }, ['wallisandfutuna'] = { name = 'Wallis and Futuna', img = 'File:wf.png' }, ['samoa'] = { name = 'Samoa', img = 'File:ws.png' }, ['yemen'] = { name = 'Yemen', img = 'File:ye.png' }, ['mayotte'] = { name = 'Mayotte', img = 'File:yt.png' }, ['southafrica'] = { name = 'South Africa', img = 'File:za.png' }, ['zambia'] = { name = 'Zambia', img = 'File:zm.png' }, ['zimbabwe'] = { name = 'Zimbabwe', img = 'File:zw.png' }, -- ISO 3166-1 alpha-2 User-assigned Code Elements ['kosovo'] = { name = 'Kosovo', img = 'File:xk.png' }, -- ISO 3166-1 alpha-2 Exceptional Reservations ['europeanunion'] = { name = 'Europe', img = 'File:eu.png' }, ['unitednations'] = { name = 'United Nations', img = 'File:un.png' }, ['ussr'] = { name = 'USSR', img = 'File:ussr.png' }, -- ISO 3166-1 alpha-2 Traditional Reservations ['yugoslavia'] = { name = 'Yugoslavia', img = 'File:yu.png' }, -- ISO 3166-2:GB ['england'] = { name = 'England', img = 'File:gb-eng.png' }, ['northernireland'] = { name = 'Northern Ireland', img = 'File:gb-nir.png' }, ['scotland'] = { name = 'Scotland', img = 'File:gb-sct.png' }, ['wales'] = { name = 'Wales', img = 'File:gb-wls.png' }, -- Other ['africa'] = { name = 'Africa', img = 'File:african union.png' }, ['americas'] = { name = 'Americas', img = 'File:UsCa.png' }, ['asia'] = { name = 'Asia', img = 'File:Asia flag.png' }, ['benelux'] = { name = 'Benelux', img = 'File:benelux.png' }, ['centralamerica'] = { name = 'Central America', img = 'File:cais flag.png' }, ['commonwealthofindependentstates'] = { name = 'CIS', img = 'File:Cis.png' }, ['eastasia'] = { name = 'East Asia', img = 'File:East asia flag.png' }, ['iberia'] = { name = 'Iberia', img = 'File:EsPt.png' }, ['northamerica'] = { name = 'North America', img = 'File:UsCa.png' }, ['middleeast'] = { name = 'Middle East', img = 'File:Middle east flag.png' }, ['nordiccountries'] = { name = 'Nordic Countries', img = 'File:Nordic.png' }, ['northafrica'] = { name = 'North Africa', img = 'File:Space filler flag.png' }, ['oceania'] = { name = 'Oceania', img = 'File:anz.png' }, ['southamerica'] = { name = 'South America', img = 'File:Unasur.png' }, ['southasia'] = { name = 'South Asia', img = 'File:south asia flag.png' }, ['southeastasia'] = { name = 'Southeast Asia', img = 'File:asean.png' }, ['world'] = { name = 'International', img = 'File:World.png' }, ['englishspeaking'] = { name = 'English Speaking', img = 'File:UsGb.png' }, ['germanspeaking'] = { name = 'German Speaking', img = 'File:DeAt.png' }, ['spanishspeaking'] = { name = 'Spanish Speaking', img = 'File:EsMx.png' }, ['portuguesespeaking'] = { name = 'Portuguese Speaking', img = 'File:PtBr.png' }, ['russianspeaking'] = { name = 'Russian Speaking', img = 'File:RuBy.png' }, ['non-representing'] = { name = 'Non-representing', img = 'File:non.png' }, ['filler'] = { name = '', img = 'File:Space filler flag.png' }, } -- This table includes: -- ISO 3166-1 alpha-2 -- ISO 3166-1 alpha-2 User-assigned Code Elements -- ISO 3166-1 alpha-2 Exceptional Reservations -- ISO 3166-1 alpha-2 Traditional Reservations local twoLetter = { ['ad'] = 'andorra', ['ae'] = 'unitedarabemirates', ['af'] = 'afghanistan', ['ag'] = 'antiguaandbarbuda', ['ai'] = 'anguilla', ['al'] = 'albania', ['am'] = 'armenia', ['ao'] = 'angola', ['aq'] = 'antarctica', ['ar'] = 'argentina', ['as'] = 'americansamoa', ['ac'] = 'ascensionisland', ['at'] = 'austria', ['au'] = 'australia', ['aw'] = 'aruba', ['ax'] = 'ålandislands', ['az'] = 'azerbaijan', ['ba'] = 'bosniaandherzegovina', ['bb'] = 'barbados', ['bd'] = 'bangladesh', ['be'] = 'belgium', ['bf'] = 'burkinafaso', ['bg'] = 'bulgaria', ['bh'] = 'bahrain', ['bi'] = 'burundi', ['bj'] = 'benin', ['bl'] = 'saintbarthélemy', ['bm'] = 'bermuda', ['bn'] = 'brunei', ['bo'] = 'bolivia', ['bq'] = 'bonaire,sinteustatiusandsaba', ['br'] = 'brazil', ['bs'] = 'bahamas', ['bt'] = 'bhutan', ['bv'] = 'bouvetisland', ['bw'] = 'botswana', ['by'] = 'belarus', ['bz'] = 'belize', ['ca'] = 'canada', ['cc'] = 'cocos(keeling)islands', ['cd'] = 'congo,democraticrepublicofthe', ['cf'] = 'centralafricanrepublic', ['cg'] = 'congo', ['ch'] = 'switzerland', ['ci'] = "côted'ivoire", ['ck'] = 'cookislands', ['cl'] = 'chile', ['cm'] = 'cameroon', ['cn'] = 'china', ['co'] = 'colombia', ['cr'] = 'costarica', ['cu'] = 'cuba', ['cv'] = 'caboverde', ['cw'] = 'curaçao', ['cx'] = 'christmasisland', ['cy'] = 'cyprus', ['cz'] = 'czechia', ['de'] = 'germany', ['dj'] = 'djibouti', ['dk'] = 'denmark', ['dm'] = 'dominica', ['do'] = 'dominicanrepublic', ['dz'] = 'algeria', ['ec'] = 'ecuador', ['ee'] = 'estonia', ['eg'] = 'egypt', ['eh'] = 'westernsahara', ['er'] = 'eritrea', ['es'] = 'spain', ['et'] = 'ethiopia', ['fi'] = 'finland', ['fj'] = 'fiji', ['fk'] = 'falklandislands', ['fm'] = 'micronesia', ['fo'] = 'faroeislands', ['fr'] = 'france', ['ga'] = 'gabon', ['gb'] = 'unitedkingdom', ['gd'] = 'grenada', ['ge'] = 'georgia', ['gf'] = 'frenchguiana', ['gg'] = 'guernsey', ['gh'] = 'ghana', ['gi'] = 'gibraltar', ['gl'] = 'greenland', ['gm'] = 'gambia', ['gn'] = 'guinea', ['gp'] = 'guadeloupe', ['gq'] = 'equatorialguinea', ['gr'] = 'greece', ['gs'] = 'southgeorgiaandthesouthsandwichislands', ['gt'] = 'guatemala', ['gu'] = 'guam', ['gw'] = 'guinea-bissau', ['gy'] = 'guyana', ['hk'] = 'hongkong', ['hm'] = 'heardislandandmcdonaldislands', ['hn'] = 'honduras', ['hr'] = 'croatia', ['ht'] = 'haiti', ['hu'] = 'hungary', ['id'] = 'indonesia', ['ie'] = 'ireland', ['il'] = 'israel', ['im'] = 'isleofman', ['in'] = 'india', ['io'] = 'britishindianoceanterritory', ['iq'] = 'iraq', ['ir'] = 'iran', ['is'] = 'iceland', ['it'] = 'italy', ['je'] = 'jersey', ['jm'] = 'jamaica', ['jo'] = 'jordan', ['jp'] = 'japan', ['ke'] = 'kenya', ['kg'] = 'kyrgyzstan', ['kh'] = 'cambodia', ['ki'] = 'kiribati', ['km'] = 'comoros', ['kn'] = 'saintkittsandnevis', ['kp'] = 'northkorea', ['kr'] = 'southkorea', ['kw'] = 'kuwait', ['ky'] = 'caymanislands', ['kz'] = 'kazakhstan', ['la'] = 'laos', ['lb'] = 'lebanon', ['lc'] = 'saintlucia', ['li'] = 'liechtenstein', ['lk'] = 'srilanka', ['lr'] = 'liberia', ['ls'] = 'lesotho', ['lt'] = 'lithuania', ['lu'] = 'luxembourg', ['lv'] = 'latvia', ['ly'] = 'libya', ['ma'] = 'morocco', ['mc'] = 'monaco', ['md'] = 'moldova', ['me'] = 'montenegro', ['mf'] = 'saintmartin(frenchpart)', ['mg'] = 'madagascar', ['mh'] = 'marshallislands', ['mk'] = 'northmacedonia', ['ml'] = 'mali', ['mm'] = 'myanmar', ['mn'] = 'mongolia', ['mo'] = 'macau', ['mp'] = 'northernmarianaislands', ['mq'] = 'martinique', ['mr'] = 'mauritania', ['ms'] = 'montserrat', ['mt'] = 'malta', ['mu'] = 'mauritius', ['mv'] = 'maldives', ['mw'] = 'malawi', ['mx'] = 'mexico', ['my'] = 'malaysia', ['mz'] = 'mozambique', ['na'] = 'namibia', ['nc'] = 'newcaledonia', ['ne'] = 'niger', ['nf'] = 'norfolkisland', ['ng'] = 'nigeria', ['ni'] = 'nicaragua', ['nl'] = 'netherlands', ['no'] = 'norway', ['np'] = 'nepal', ['nr'] = 'nauru', ['nu'] = 'niue', ['nz'] = 'newzealand', ['om'] = 'oman', ['pa'] = 'panama', ['pe'] = 'peru', ['pf'] = 'frenchpolynesia', ['pg'] = 'papuanewguinea', ['ph'] = 'philippines', ['pk'] = 'pakistan', ['pl'] = 'poland', ['pm'] = 'saintpierreandmiquelon', ['pn'] = 'pitcairn', ['pr'] = 'puertorico', ['ps'] = 'palestine', ['pt'] = 'portugal', ['pw'] = 'palau', ['py'] = 'paraguay', ['qa'] = 'qatar', ['re'] = 'réunion', ['ro'] = 'romania', ['rs'] = 'serbia', ['ru'] = 'russia', ['rw'] = 'rwanda', ['sa'] = 'saudiarabia', ['sb'] = 'solomonislands', ['sc'] = 'seychelles', ['sd'] = 'sudan', ['se'] = 'sweden', ['sg'] = 'singapore', ['sh'] = 'sainthelena', ['si'] = 'slovenia', ['sj'] = 'svalbardandjanmayen', ['sk'] = 'slovakia', ['sl'] = 'sierraleone', ['sm'] = 'sanmarino', ['sn'] = 'senegal', ['so'] = 'somalia', ['sr'] = 'suriname', ['ss'] = 'southsudan', ['st'] = 'saotomeandprincipe', ['sv'] = 'elsalvador', ['sx'] = 'sintmaarten(dutchpart)', ['sy'] = 'syria', ['sz'] = 'eswatini', ['tc'] = 'turksandcaicosislands', ['td'] = 'chad', ['tf'] = 'frenchsouthernterritories', ['tg'] = 'togo', ['th'] = 'thailand', ['tj'] = 'tajikistan', ['tk'] = 'tokelau', ['tl'] = 'timor-leste', ['tm'] = 'turkmenistan', ['tn'] = 'tunisia', ['to'] = 'tonga', ['tr'] = 'turkey', ['tt'] = 'trinidadandtobago', ['tv'] = 'tuvalu', ['tw'] = 'taiwan', ['tz'] = 'tanzania', ['ua'] = 'ukraine', ['ug'] = 'uganda', ['um'] = 'unitedstatesminoroutlyingislands', ['us'] = 'unitedstates', ['uy'] = 'uruguay', ['uz'] = 'uzbekistan', ['va'] = 'vaticancity', ['vc'] = 'saintvincentandthegrenadines', ['ve'] = 'venezuela', ['vg'] = 'virginislands(british)', ['vi'] = 'virginislands(u.s.)', ['vn'] = 'vietnam', ['vu'] = 'vanuatu', ['wf'] = 'wallisandfutuna', ['ws'] = 'samoa', ['ye'] = 'yemen', ['yt'] = 'mayotte', ['za'] = 'southafrica', ['zm'] = 'zambia', ['zw'] = 'zimbabwe', -- ISO 3166-1 alpha-2 User-assigned Code Elements ['xk'] = 'kosovo', ['xx'] = 'non-representing', -- ISO 3166-1 alpha-2 Exceptional Reservations ['eu'] = 'europeanunion', ['uk'] = 'unitedkingdom', ['un'] = 'unitednations', -- ISO 3166-1 alpha-2 Traditional Reservations ['yu'] = 'yugoslavia', } -- This table includes: -- ISO 3166-1 alpha-3 -- ISO 3166-2:GB -- Other local threeLetter = { -- ISO 3166-1 alpha-3 ['abw'] = 'aruba', ['afg'] = 'afghanistan', ['ago'] = 'angola', ['aia'] = 'anguilla', ['ala'] = 'ålandislands', ['alb'] = 'albania', ['and'] = 'andorra', ['are'] = 'unitedarabemirates', ['arg'] = 'argentina', ['arm'] = 'armenia', ['asm'] = 'americansamoa', ['ata'] = 'antarctica', ['atf'] = 'frenchsouthernterritories', ['atg'] = 'antiguaandbarbuda', ['aus'] = 'australia', ['aut'] = 'austria', ['aze'] = 'azerbaijan', ['bdi'] = 'burundi', ['bel'] = 'belgium', ['ben'] = 'benin', ['bes'] = 'bonaire,sinteustatiusandsaba', ['bfa'] = 'burkinafaso', ['bgd'] = 'bangladesh', ['bgr'] = 'bulgaria', ['bhr'] = 'bahrain', ['bhs'] = 'bahamas', ['bih'] = 'bosniaandherzegovina', ['blm'] = 'saintbarthélemy', ['blr'] = 'belarus', ['blz'] = 'belize', ['bmu'] = 'bermuda', ['bol'] = 'bolivia', ['bra'] = 'brazil', ['brb'] = 'barbados', ['brn'] = 'brunei', ['btn'] = 'bhutan', ['bvt'] = 'bouvetisland', ['bwa'] = 'botswana', ['caf'] = 'centralafricanrepublic', ['can'] = 'canada', ['cck'] = 'cocos(keeling)islands', ['che'] = 'switzerland', ['chl'] = 'chile', ['chn'] = 'china', ['civ'] = "côted'ivoire", ['cmr'] = 'cameroon', ['cod'] = 'congo,democraticrepublicofthe', ['cog'] = 'congo', ['cok'] = 'cookislands', ['col'] = 'colombia', ['com'] = 'comoros', ['cpv'] = 'caboverde', ['cri'] = 'costarica', ['cub'] = 'cuba', ['cuw'] = 'curaçao', ['cxr'] = 'christmasisland', ['cym'] = 'caymanislands', ['cyp'] = 'cyprus', ['cze'] = 'czechia', ['deu'] = 'germany', ['dji'] = 'djibouti', ['dma'] = 'dominica', ['dnk'] = 'denmark', ['dom'] = 'dominicanrepublic', ['dza'] = 'algeria', ['ecu'] = 'ecuador', ['egy'] = 'egypt', ['eri'] = 'eritrea', ['esh'] = 'westernsahara', ['esp'] = 'spain', ['est'] = 'estonia', ['eth'] = 'ethiopia', ['fin'] = 'finland', ['fji'] = 'fiji', ['flk'] = 'falklandislands(malvinas)', ['fra'] = 'france', ['fro'] = 'faroeislands', ['fsm'] = 'micronesia', ['gab'] = 'gabon', ['gbr'] = 'unitedkingdom', ['geo'] = 'georgia', ['ggy'] = 'guernsey', ['gha'] = 'ghana', ['gib'] = 'gibraltar', ['gin'] = 'guinea', ['glp'] = 'guadeloupe', ['gmb'] = 'gambia', ['gnb'] = 'guinea-bissau', ['gnq'] = 'equatorialguinea', ['grc'] = 'greece', ['grd'] = 'grenada', ['grl'] = 'greenland', ['gtm'] = 'guatemala', ['guf'] = 'frenchguiana', ['gum'] = 'guam', ['guy'] = 'guyana', ['hkg'] = 'hongkong', ['hmd'] = 'heardislandandmcdonaldislands', ['hnd'] = 'honduras', ['hrv'] = 'croatia', ['hti'] = 'haiti', ['hun'] = 'hungary', ['idn'] = 'indonesia', ['imn'] = 'isleofman', ['ind'] = 'india', ['iot'] = 'britishindianoceanterritory', ['irl'] = 'ireland', ['irn'] = 'iran', ['irq'] = 'iraq', ['isl'] = 'iceland', ['isr'] = 'israel', ['ita'] = 'italy', ['jam'] = 'jamaica', ['jey'] = 'jersey', ['jor'] = 'jordan', ['jpn'] = 'japan', ['kaz'] = 'kazakhstan', ['ken'] = 'kenya', ['kgz'] = 'kyrgyzstan', ['khm'] = 'cambodia', ['kir'] = 'kiribati', ['kna'] = 'saintkittsandnevis', ['kor'] = 'southkorea', ['kwt'] = 'kuwait', ['lao'] = 'laos', ['lbn'] = 'lebanon', ['lbr'] = 'liberia', ['lby'] = 'libya', ['lca'] = 'saintlucia', ['lie'] = 'liechtenstein', ['lka'] = 'srilanka', ['lso'] = 'lesotho', ['ltu'] = 'lithuania', ['lux'] = 'luxembourg', ['lva'] = 'latvia', ['mac'] = 'macau', ['maf'] = 'saintmartin(frenchpart)', ['mar'] = 'morocco', ['mco'] = 'monaco', ['mda'] = 'moldova', ['mdg'] = 'madagascar', ['mdv'] = 'maldives', ['mex'] = 'mexico', ['mhl'] = 'marshallislands', ['mkd'] = 'northmacedonia', ['mli'] = 'mali', ['mlt'] = 'malta', ['mmr'] = 'myanmar', ['mne'] = 'montenegro', ['mng'] = 'mongolia', ['mnp'] = 'northernmarianaislands', ['moz'] = 'mozambique', ['mrt'] = 'mauritania', ['msr'] = 'montserrat', ['mtq'] = 'martinique', ['mus'] = 'mauritius', ['mwi'] = 'malawi', ['mys'] = 'malaysia', ['myt'] = 'mayotte', ['nam'] = 'namibia', ['ncl'] = 'newcaledonia', ['ner'] = 'niger', ['nfk'] = 'norfolkisland', ['nga'] = 'nigeria', ['nic'] = 'nicaragua', ['niu'] = 'niue', ['nld'] = 'netherlands', ['nor'] = 'norway', ['npl'] = 'nepal', ['nru'] = 'nauru', ['nzl'] = 'newzealand', ['omn'] = 'oman', ['pak'] = 'pakistan', ['pan'] = 'panama', ['pcn'] = 'pitcairn', ['per'] = 'peru', ['phl'] = 'philippines', ['plw'] = 'palau', ['png'] = 'papuanewguinea', ['pol'] = 'poland', ['pri'] = 'puertorico', ['prk'] = 'northkorea', ['prt'] = 'portugal', ['pry'] = 'paraguay', ['pse'] = 'palestine', ['pyf'] = 'frenchpolynesia', ['qat'] = 'qatar', ['reu'] = 'réunion', ['rou'] = 'romania', ['rus'] = 'russia', ['rwa'] = 'rwanda', ['sau'] = 'saudiarabia', ['sdn'] = 'sudan', ['sen'] = 'senegal', ['sgp'] = 'singapore', ['sgs'] = 'southgeorgiaandthesouthsandwichislands', ['shn'] = 'sainthelena', ['sjm'] = 'svalbardandjanmayen', ['slb'] = 'solomonislands', ['sle'] = 'sierraleone', ['slv'] = 'elsalvador', ['smr'] = 'sanmarino', ['som'] = 'somalia', ['spm'] = 'saintpierreandmiquelon', ['srb'] = 'serbia', ['ssd'] = 'southsudan', ['stp'] = 'saotomeandprincipe', ['sur'] = 'suriname', ['svk'] = 'slovakia', ['svn'] = 'slovenia', ['swe'] = 'sweden', ['swz'] = 'eswatini', ['sxm'] = 'sintmaarten(dutchpart)', ['syc'] = 'seychelles', ['syr'] = 'syria', ['tca'] = 'turksandcaicosislands', ['tcd'] = 'chad', ['tgo'] = 'togo', ['tha'] = 'thailand', ['tjk'] = 'tajikistan', ['tkl'] = 'tokelau', ['tkm'] = 'turkmenistan', ['tls'] = 'timor-leste', ['ton'] = 'tonga', ['tto'] = 'trinidadandtobago', ['tun'] = 'tunisia', ['tur'] = 'turkey', ['tuv'] = 'tuvalu', ['twn'] = 'taiwan', ['tza'] = 'tanzania', ['uga'] = 'uganda', ['ukr'] = 'ukraine', ['umi'] = 'unitedstatesminoroutlyingislands', ['ury'] = 'uruguay', ['usa'] = 'unitedstates', ['uzb'] = 'uzbekistan', ['vat'] = 'vaticancity', ['vct'] = 'saintvincentandthegrenadines', ['ven'] = 'venezuela(bolivarianrepublicof)', ['vgb'] = 'virginislands(british)', ['vir'] = 'virginislands(u.s.)', ['vnm'] = 'vietnam', ['vut'] = 'vanuatu', ['wlf'] = 'wallisandfutuna', ['wsm'] = 'samoa', ['yem'] = 'yemen', ['zaf'] = 'southafrica', ['zmb'] = 'zambia', ['zwe'] = 'zimbabwe', -- ISO 3166-2:GB ['eng'] = 'england', ['nir'] = 'northernireland', ['sct'] = 'scotland', ['wls'] = 'wales', -- Other ['anz'] = 'oceania', ['cis'] = 'commonwealthofindependentstates', ['int'] = 'world', ['sam'] = 'southamerica', ['sca'] = 'scandinavia', ['sea'] = 'southeastasia', ['uae'] = 'unitedarabemirates', ['tbd'] = 'filler', } -- This table includes: -- ISO 3166-3 -- Accents/special characters -- Other local aliases = { -- ISO 3166-3 ['suhh'] = 'ussr', ['yucs'] = 'yugoslavia', -- Accents/special characters ['aland'] = 'ålandislands', ['Ålandislands'] = 'ålandislands', ['curacao'] = 'curaçao', ['ivorycoast'] = "côted'ivoire", -- Other ['bonaire'] = 'bonaire,sinteustatiusandsaba', ['sinteustatius'] = 'bonaire,sinteustatiusandsaba', ['saba'] = 'bonaire,sinteustatiusandsaba', ['caribbeannetherlands'] = 'bonaire,sinteustatiusandsaba', ['bosnia'] = 'bosniaandherzegovina', ['bosnia&herzegovina'] = 'bosniaandherzegovina', ['bruneidarussalam'] = 'brunei', ['democraticrepublicofthecongo'] = 'congo,democraticrepublicofthe', ['cocosislands'] = 'cocos(keeling)islands', ['keelingislands'] = 'cocos(keeling)islands', ['czech'] = 'czechia', ['czechrepublic'] = 'czechia', ['europe'] = 'europeanunion', ['holland'] = 'netherlands', ['international'] = 'world', ['korea'] = 'southkorea', ['macao'] = 'macau', ['nord'] = 'nordiccountries', ['nordic'] = 'nordiccountries', ['nordiccouncil'] = 'nordiccountries', ['macedonia'] = 'northmacedonia', ['makedonia'] = 'northmacedonia', ['micronesia'] = 'federatedstatesofmicronesia', ['republic of macedonia'] = 'northmacedonia', ['scandinavia'] = 'nordiccountries', ['saintmartin'] = 'saintmartin(frenchpart)', ['sintmaarten'] = 'sintmaarten(dutchpart)', ['slovakrepublic'] = 'slovakia', ['chinesetaipei'] = 'taiwan', ['tristan'] = 'tristandacunha', ['usca'] = 'northamerica', ['unasur'] = 'southamerica', ['unitedstatesofamerica'] = 'unitedstates', ['holysee'] = 'vaticancity', ['vatican'] = 'vaticancity', ['virginislands'] = 'virginislands(british)', ['britishvirginislands'] = 'virginislands(british)', ['u.s.virginislands'] = 'virginislands(u.s.)', ['unitedstatesvirginislands'] = 'virginislands(u.s.)', ['u.s.minoroutlyingislands'] = 'unitedstatesminoroutlyingislands', ['global'] = 'world', --needed due to lpdb length restrictions --for inside matches --> max length 20 --minus the spaces in cut of the flag names ['southgeorgiaandth'] = 'southgeorgiaandthesouthsandwichislands', ['bosniaandherzegovi'] = 'bosniaandherzegovina', --for inside player --> max length 40 --minus the spaces in cut of the flag names ['southgeorgiaandthesouthsandwichisl'] = 'southgeorgiaandthesouthsandwichislands', --language flag abbreviations ['usuk'] = 'englishspeaking', ['deat'] = 'germanspeaking', ['esmx'] = 'spanishspeaking', ['ptbr'] = 'portuguesespeaking', ['ruby'] = 'russianspeaking', --language flag aliases ['engspeaking'] = 'englishspeaking', ['gerspeaking'] = 'germanspeaking', ['ff'] = 'filler', ['fillerflag'] = 'filler', ['unknown'] = 'filler', ['nonrepresenting'] = 'non-representing', ['non'] = 'non-representing', ['none'] = 'non-representing', } -- This table includes -- ISO 639-1 (language iso) values -- for languages that have a special flag local languageTwoLetter = { --language flag abbreviations ['en'] = 'englishspeaking', ['de'] = 'germanspeaking', ['es'] = 'spanishspeaking', ['pt'] = 'portuguesespeaking', ['ru'] = 'russianspeaking', } -- This table includes -- ISO 639-2/T (language iso) values -- for languages that have a special flag local languageThreeLetter = { --language flag abbreviations ['eng'] = 'englishspeaking', ['deu'] = 'germanspeaking', ['spa'] = 'spanishspeaking', ['por'] = 'portuguesespeaking', ['rus'] = 'russianspeaking', } return { data = data, twoLetter = twoLetter, threeLetter = threeLetter, aliases = aliases, languageTwoLetter = languageTwoLetter, languageThreeLetter = languageThreeLetter, }