Module:NationAndOccupation/CountryAdjective2iso
Lua
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules
Table copied from Template:CountryAdjective/en2iso. It associates English nationalities with ISO codes of the countries.
Code
return {
['afghan' ] = 'AF',
['albanian' ] = 'AL',
['algerian' ] = 'DZ',
['american samoan' ] = 'AS',
['andorran' ] = 'AD',
['angolan' ] = 'AO',
['anguillan' ] = 'AI',
['antarctic' ] = 'AQ',
['argentine' ] = 'AR',
['armenian' ] = 'AM',
['aruban' ] = 'AW',
['australian' ] = 'AU',
['austrian' ] = 'AT',
['azerbaijani' ] = 'AZ',
['bahamian' ] = 'BS',
['bahraini' ] = 'BH',
['bangladeshi' ] = 'BD',
['barbadian' ] = 'BB',
['belarusian' ] = 'BY',
['belgian' ] = 'BE',
['belizean' ] = 'BZ',
['beninese' ] = 'BJ',
['bermudan' ] = 'BM',
['bhutanese' ] = 'BT',
['bolivian' ] = 'BO',
['bosnian' ] = 'BA',
['herzegovinian' ] = 'BA',
['botswanan' ] = 'BW',
['brazilian' ] = 'BR',
['bruneian' ] = 'BN',
['bulgarian' ] = 'BG',
['burkinabe' ] = 'BF',
['burundian' ] = 'BI',
['cambodian' ] = 'KH',
['cameroonian' ] = 'CM',
['canadian' ] = 'CA',
['cape verdean' ] = 'CV',
['caymanian' ] = 'KY',
['central african' ] = 'CF',
['chadian' ] = 'TD',
['chilean' ] = 'CL',
['chinese' ] = 'CN',
['colombian' ] = 'CO',
['comorian' ] = 'KM',
['congolese (r)' ] = 'CG',
['congolese (dr)' ] = 'CD',
['costa rican' ] = 'CR',
['ivorian' ] = 'CI',
['croatian' ] = 'HR',
['cuban' ] = 'CU',
['cypriot' ] = 'CY',
['czech' ] = 'CZ',
['danish' ] = 'DK',
['djiboutian' ] = 'DJ',
['dominican' ] = 'DM',
['dominican (r)' ] = 'DO',
['ecuadorian' ] = 'EC',
['egyptian' ] = 'EG',
['salvadoran' ] = 'SV',
['equatorial guinean' ]= 'GQ',
['eritrean' ] = 'ER',
['estonian' ] = 'EE',
['ethiopian' ] = 'ET',
['falkland island' ] = 'FK',
['faroese' ] = 'FO',
['fijian' ] = 'FJ',
['finnish' ] = 'FI',
['french' ] = 'FR',
['french guianese' ] = 'GF',
['french polynesian' ] = 'PF',
['gabonese' ] = 'GA',
['gambian' ] = 'GM',
['georgian' ] = 'GE',
['german' ] = 'DE',
['ghanaian' ] = 'GH',
['gibraltar' ] = 'GI',
['greek' ] = 'GR',
['greenlandic' ] = 'GL',
['grenadian' ] = 'GD',
['guadeloupian' ] = 'GP',
['guamanian' ] = 'GU',
['guatemalan' ] = 'GT',
['guinean' ] = 'GN',
['guinea-bissauan' ] = 'GW',
['guyanese' ] = 'GY',
['haitian' ] = 'HT',
['vaticanese' ] = 'VA',
['honduran' ] = 'HN',
['hungarian' ] = 'HU',
['icelandic' ] = 'IS',
['indian' ] = 'IN',
['indonesian' ] = 'ID',
['iranian' ] = 'IR',
['iraqi' ] = 'IQ',
['irish' ] = 'IE',
['manx' ] = 'IM',
['israeli' ] = 'IL',
['italian' ] = 'IT',
['jamaican' ] = 'JM',
['japanese' ] = 'JP',
['jordanian' ] = 'JO',
['kazakhstani' ] = 'KZ',
['kenyan' ] = 'KE',
['kiribati' ] = 'KI',
['north korean' ] = 'KP',
['south korean' ] = 'KR',
['kuwaiti' ] = 'KW',
['kyrgyzstani' ] = 'KG',
['laotian' ] = 'LA',
['latvian' ] = 'LV',
['lebanese' ] = 'LB',
['lesothan' ] = 'LS',
['liberian' ] = 'LR',
['libyan' ] = 'LY',
['liechtensteinian' ] = 'LI',
['lithuanian' ] = 'LT',
['luxembourgish' ] = 'LU',
['macedonian' ] = 'MK',
['malagasy' ] = 'MG',
['malawian' ] = 'MW',
['malaysian' ] = 'MY',
['maldivian' ] = 'MV',
['malian' ] = 'ML',
['maltese' ] = 'MT',
['marshallese' ] = 'MH',
['martinican' ] = 'MQ',
['mauritanian' ] = 'MR',
['mauritian' ] = 'MU',
['mahoran' ] = 'YT',
['mexican' ] = 'MX',
['micronesian' ] = 'FM',
['moldovan' ] = 'MD',
['monégasque' ] = 'MC',
['mongolian' ] = 'MN',
['montenegrin' ] = 'ME',
['montserratian' ] = 'MS',
['moroccan' ] = 'MA',
['mozambican' ] = 'MZ',
['burmese' ] = 'MM',
['namibian' ] = 'NA',
['nauruan' ] = 'NR',
['nepali' ] = 'NP',
['dutch' ] = 'NL',
['dutch antillean' ] = 'AN',
['new caledonian' ] = 'NC',
['new zealand' ] = 'NZ',
['nicaraguan' ] = 'NI',
['nigerien' ] = 'NE',
['nigerian' ] = 'NG',
['niuean' ] = 'NU',
['norfolkish' ] = 'NF',
['northern marianan' ] = 'MP',
['norwegian' ] = 'NO',
['omani' ] = 'OM',
['pakistani' ] = 'PK',
['palauan' ] = 'PW',
['palestinian' ] = 'PS',
['panamanian' ] = 'PA',
['papua new guinean' ] = 'PG',
['paraguayan' ] = 'PY',
['peruvian' ] = 'PE',
['philippine' ] = 'PH',
['pitcairnian' ] = 'PN',
['polish' ] = 'PL',
['portuguese' ] = 'PT',
['puerto rican' ] = 'PR',
['qatari' ] = 'QA',
['réunionese' ] = 'RE',
['romanian' ] = 'RO',
['russian' ] = 'RU',
['rwandan' ] = 'RW',
['saint helenian' ] = 'SH',
['st. lucian' ] = 'LC',
['vincentian' ] = 'VC',
['samoan' ] = 'WS',
['sammarinese' ] = 'SM',
['são toméan' ] = 'ST',
['saudi arabian' ] = 'SA',
['senegalese' ] = 'SN',
['serbian' ] = 'RS',
['seychellois' ] = 'SC',
['sierra leonean' ] = 'SL',
['singaporean' ] = 'SG',
['slovak' ] = 'SK',
['slovene' ] = 'SI',
['solomonian' ] = 'SB',
['somali' ] = 'SO',
['south african' ] = 'ZA',
['spanish' ] = 'ES',
['sri lankan' ] = 'LK',
['sudanese' ] = 'SD',
['surinamese' ] = 'SR',
['swazi' ] = 'SZ',
['swedish' ] = 'SE',
['swiss' ] = 'CH',
['syrian' ] = 'SY',
['taiwanese' ] = 'TW',
['tajikistani' ] = 'TJ',
['tanzanian' ] = 'TZ',
['thailandish' ] = 'TH',
['timorese' ] = 'TL',
['togolese' ] = 'TG',
['tokelauan' ] = 'TK',
['tongan' ] = 'TO',
['tunisian' ] = 'TN',
['turkish' ] = 'TR',
['turkmen' ] = 'TM',
['tuvaluan' ] = 'TV',
['ugandan' ] = 'UG',
['ukrainian' ] = 'UA',
['emirati' ] = 'AE',
['british' ] = 'GB',
['american' ] = 'US',
['uruguayan' ] = 'UY',
['uzbekistani' ] = 'UZ',
['vanuatuan' ] = 'VU',
['venezuelan' ] = 'VE',
['vietnamese' ] = 'VN',
['sahrawian' ] = 'EH',
['yemeni' ] = 'YE',
['zambian' ] = 'ZM',
['zimbabwean' ] = 'ZW'
}