Commit bcdaabfc authored by cividesk's avatar cividesk

Added country table for 2/3 letter codes, completed language table.

parent 88974d0e
Afghanistan,AF,AFG
Albania,AL,ALB
Algeria,DZ,DZA
Andorra,AD,AND
Angola,AO,AGO
Antigua and Barbuda,AG,ATG
Argentina,AR,ARG
Armenia,AM,ARM
Australia,AU,AUS
Austria,AT,AUT
Azerbaijan,AZ,AZE
"Bahamas, The",BS,BHS
Bahrain,BH,BHR
Bangladesh,BD,BGD
Barbados,BB,BRB
Belarus,BY,BLR
Belgium,BE,BEL
Belize,BZ,BLZ
Benin,BJ,BEN
Bhutan,BT,BTN
Bolivia,BO,BOL
Bosnia and Herzegovina,BA,BIH
Botswana,BW,BWA
Brazil,BR,BRA
Brunei,BN,BRN
Bulgaria,BG,BGR
Burkina Faso,BF,BFA
Burundi,BI,BDI
Cambodia,KH,KHM
Cameroon,CM,CMR
Canada,CA,CAN
Cape Verde,CV,CPV
Central African Republic,CF,CAF
Chad,TD,TCD
Chile,CL,CHL
"China, People's Republic of",CN,CHN
Colombia,CO,COL
Comoros,KM,COM
"Congo, The Democratic Republic of the",CD,COD
"Congo, Republic of the",CG,COG
Costa Rica,CR,CRI
Cote d'Ivoire (Ivory Coast),CI,CIV
Croatia,HR,HRV
Cuba,CU,CUB
Cyprus,CY,CYP
Czech Republic,CZ,CZE
Denmark,DK,DNK
Djibouti,DJ,DJI
Dominica,DM,DMA
Dominican Republic,DO,DOM
Ecuador,EC,ECU
Egypt,EG,EGY
El Salvador,SV,SLV
Equatorial Guinea,GQ,GNQ
Eritrea,ER,ERI
Estonia,EE,EST
Ethiopia,ET,ETH
Fiji,FJ,FJI
Finland,FI,FIN
France,FR,FRA
Gabon,GA,GAB
"Gambia, The",GM,GMB
Georgia,GE,GEO
Germany,DE,DEU
Ghana,GH,GHA
Greece,GR,GRC
Grenada,GD,GRD
Guatemala,GT,GTM
Guinea,GN,GIN
Guinea-Bissau,GW,GNB
Guyana,GY,GUY
Haiti,HT,HTI
Honduras,HN,HND
Hungary,HU,HUN
Iceland,IS,ISL
India,IN,IND
Indonesia,ID,IDN
Iran,IR,IRN
Iraq,IQ,IRQ
Ireland,IE,IRL
Israel,IL,ISR
Italy,IT,ITA
Jamaica,JM,JAM
Japan,JP,JPN
Jordan,JO,JOR
Kazakhstan,KZ,KAZ
Kenya,KE,KEN
Kiribati,KI,KIR
"Korea, North",KP,PRK
"Korea, South",KR,KOR
Kuwait,KW,KWT
Kyrgyzstan,KG,KGZ
Laos,LA,LAO
Latvia,LV,LVA
Lebanon,LB,LBN
Lesotho,LS,LSO
Liberia,LR,LBR
Libya,LY,LBY
Liechtenstein,LI,LIE
Lithuania,LT,LTU
Luxembourg,LU,LUX
"Macedonia, Republic of",MK,MKD
Madagascar,MG,MDG
Malawi,MW,MWI
Malaysia,MY,MYS
Maldives,MV,MDV
Mali,ML,MLI
Malta,MT,MLT
Marshall Islands,MH,MHL
Mauritania,MR,MRT
Mauritius,MU,MUS
Mexico,MX,MEX
Micronesia,FM,FSM
Moldova,MD,MDA
Monaco,MC,MCO
Mongolia,MN,MNG
Montenegro,ME,MNE
Morocco,MA,MAR
Mozambique,MZ,MOZ
Myanmar (Burma),MM,MMR
Namibia,NA,NAM
Nauru,NR,NRU
Nepal,NP,NPL
Netherlands,NL,NLD
New Zealand,NZ,NZL
Nicaragua,NI,NIC
Niger,NE,NER
Nigeria,NG,NGA
Norway,NO,NOR
Oman,OM,OMN
Pakistan,PK,PAK
Palau,PW,PLW
Panama,PA,PAN
Papua New Guinea,PG,PNG
Paraguay,PY,PRY
Peru,PE,PER
Philippines,PH,PHL
Poland,PL,POL
Portugal,PT,PRT
Qatar,QA,QAT
Romania,RO,ROU
Russian Federation,RU,RUS
Rwanda,RW,RWA
Saint Kitts and Nevis,KN,KNA
Saint Lucia,LC,LCA
Saint Vincent and the Grenadines,VC,VCT
Samoa,WS,WSM
San Marino,SM,SMR
Sao Tome and Principe,ST,STP
Saudi Arabia,SA,SAU
Senegal,SN,SEN
Serbia,RS,SRB
Seychelles,SC,SYC
Sierra Leone,SL,SLE
Singapore,SG,SGP
Slovakia,SK,SVK
Slovenia,SI,SVN
Solomon Islands,SB,SLB
Somalia,SO,SOM
South Africa,ZA,ZAF
Spain,ES,ESP
Sri Lanka,LK,LKA
Sudan,SD,SDN
Suriname,SR,SUR
Swaziland,SZ,SWZ
Sweden,SE,SWE
Switzerland,CH,CHE
Syria,SY,SYR
Tajikistan,TJ,TJK
"Tanzania, United Republic of",TZ,TZA
Thailand,TH,THA
Timor-Leste (East Timor),TL,TLS
Togo,TG,TGO
Tonga,TO,TON
Trinidad and Tobago,TT,TTO
Tunisia,TN,TUN
Turkey,TR,TUR
Turkmenistan,TM,TKM
Tuvalu,TV,TUV
Uganda,UG,UGA
Ukraine,UA,UKR
United Arab Emirates,AE,ARE
United Kingdom,GB,GBR
United States,US,USA
Uruguay,UY,URY
Uzbekistan,UZ,UZB
Vanuatu,VU,VUT
Vatican City,VA,VAT
Venezuela,VE,VEN
Vietnam,VN,VNM
Yemen,YE,YEM
Zambia,ZM,ZMB
Zimbabwe,ZW,ZWE
Abkhazia,GE,GEO
"China, Republic of (Taiwan)",TW,TWN
Nagorno-Karabakh,AZ,AZE
Northern Cyprus,CY,CYP
Pridnestrovie (Transnistria),MD,MDA
Somaliland,SO,SOM
South Ossetia,GE,GEO
Ashmore and Cartier Islands,AU,AUS
Christmas Island,CX,CXR
Cocos (Keeling) Islands,CC,CCK
Coral Sea Islands,AU,AUS
Heard Island and McDonald Islands,HM,HMD
Norfolk Island,NF,NFK
New Caledonia,NC,NCL
French Polynesia,PF,PYF
Mayotte,YT,MYT
Saint Barthelemy,GP,GLP
Saint Martin,GP,GLP
Saint Pierre and Miquelon,PM,SPM
Wallis and Futuna,WF,WLF
French Southern and Antarctic Lands,TF,ATF
Clipperton Island,PF,PYF
Bouvet Island,BV,BVT
Cook Islands,CK,COK
Niue,NU,NIU
Tokelau,TK,TKL
Guernsey,GG,GGY
Isle of Man,IM,IMN
Jersey,JE,JEY
Anguilla,AI,AIA
Bermuda,BM,BMU
British Indian Ocean Territory,IO,IOT
British Virgin Islands,VG,VGB
Cayman Islands,KY,CYM
Falkland Islands (Islas Malvinas),FK,FLK
Gibraltar,GI,GIB
Montserrat,MS,MSR
Pitcairn Islands,PN,PCN
Saint Helena,SH,SHN
South Georgia & South Sandwich Islands,GS,SGS
Turks and Caicos Islands,TC,TCA
Northern Mariana Islands,MP,MNP
Puerto Rico,PR,PRI
American Samoa,AS,ASM
Baker Island,UM,UMI
Guam,GU,GUM
Howland Island,UM,UMI
Jarvis Island,UM,UMI
Johnston Atoll,UM,UMI
Kingman Reef,UM,UMI
Midway Islands,UM,UMI
Navassa Island,UM,UMI
Palmyra Atoll,UM,UMI
U.S. Virgin Islands,VI,VIR
Wake Island,UM,UMI
Hong Kong,HK,HKG
Macau,MO,MAC
Faroe Islands,FO,FRO
Greenland,GL,GRL
French Guiana,GF,GUF
Guadeloupe,GP,GLP
Martinique,MQ,MTQ
Reunion,RE,REU
Aland,AX,ALA
Aruba,AW,ABW
Netherlands Antilles,AN,ANT
Svalbard,SJ,SJM
Ascension,AC,ASC
Tristan da Cunha,TA,TAA
Australian Antarctic Territory,AQ,ATA
Ross Dependency,AQ,ATA
Peter I Island,AQ,ATA
Queen Maud Land,AQ,ATA
British Antarctic Territory,AQ,ATA
Source file: https://commondatastorage.googleapis.com/ckannet-storage/2011-11-25T132653/iso_3166_2_countries.csv
Adapted to match CiviCRM country names for the Congos, Russian Federation, Tanzania and a few other countries
Imported into the common_country table before mysqldump through PHPMyAdmin
\ No newline at end of file
aar,,aa,Afar
abk,,ab,Abkhazian
afr,,af,Afrikaans
aka,,ak,Akan
alb,sqi,sq,Albanian
amh,,am,Amharic
ara,,ar,Arabic
arg,,an,Aragonese
arm,hye,hy,Armenian
asm,,as,Assamese
ava,,av,Avaric
ave,,ae,Avestan
aym,,ay,Aymara
aze,,az,Azerbaijani
bak,,ba,Bashkir
bam,,bm,Bambara
baq,eus,eu,Basque
bel,,be,Belarusian
ben,,bn,Bengali
bih,,bh,Bihari languages
bis,,bi,Bislama
bos,,bs,Bosnian
bre,,br,Breton
bul,,bg,Bulgarian
bur,mya,my,Burmese
cat,,ca,Catalan
cha,,ch,Chamorro
che,,ce,Chechen
chi,zho,zh,Chinese
chu,,cu,Church Slavic
chv,,cv,Chuvash
cor,,kw,Cornish
cos,,co,Corsican
cre,,cr,Cree
cze,ces,cs,Czech
dan,,da,Danish
div,,dv,Divehi
dut,nld,nl,Dutch
dzo,,dz,Dzongkha
eng,,en,English
epo,,eo,Esperanto
est,,et,Estonian
ewe,,ee,Ewe
fao,,fo,Faroese
fij,,fj,Fijian
fin,,fi,Finnish
fre,fra,fr,French
fry,,fy,Western Frisian
ful,,ff,Fulah
geo,kat,ka,Georgian
ger,deu,de,German
gla,,gd,Gaelic
gle,,ga,Irish
glg,,gl,Galician
glv,,gv,Manx
gre,ell,el,Greek
grn,,gn,Guarani
guj,,gu,Gujarati
hat,,ht,Haitian
hau,,ha,Hausa
heb,,he,Hebrew
her,,hz,Herero
hin,,hi,Hindi
hmo,,ho,Hiri Motu
hrv,,hr,Croatian
hun,,hu,Hungarian
ibo,,ig,Igbo
ice,isl,is,Icelandic
ido,,io,Ido
iii,,ii,Sichuan Yi
iku,,iu,Inuktitut
ile,,ie,Interlingue
ind,,id,Indonesian
ipk,,ik,Inupiaq
ita,,it,Italian
jav,,jv,Javanese
jpn,,ja,Japanese
kal,,kl,Kalaallisut
kan,,kn,Kannada
kas,,ks,Kashmiri
kau,,kr,Kanuri
kaz,,kk,Kazakh
khm,,km,Central Khmer
kik,,ki,Kikuyu
kin,,rw,Kinyarwanda
kir,,ky,Kirghiz
kom,,kv,Komi
kon,,kg,Kongo
kor,,ko,Korean
kua,,kj,Kuanyama
kur,,ku,Kurdish
lao,,lo,Lao
lat,,la,Latin
lav,,lv,Latvian
lim,,li,Limburgan
lin,,ln,Lingala
lit,,lt,Lithuanian
ltz,,lb,Luxembourgish
lub,,lu,Luba-Katanga
lug,,lg,Ganda
mac,mkd,mk,Macedonian
mah,,mh,Marshallese
mal,,ml,Malayalam
mao,mri,mi,Maori
mar,,mr,Marathi
may,msa,ms,Malay
mlg,,mg,Malagasy
mlt,,mt,Maltese
mon,,mn,Mongolian
nau,,na,Nauru
nav,,nv,Navajo
nbl,,nr,Ndebele
nde,,nd,Ndebele
ndo,,ng,Ndonga
nep,,ne,Nepali
nno,,nn,Norwegian Nynorsk
nob,,nb,Bokm�l
nor,,no,Norwegian
nya,,ny,Chichewa
oci,,oc,Occitan (post 1500)
oji,,oj,Ojibwa
ori,,or,Oriya
orm,,om,Oromo
oss,,os,Ossetian
pan,,pa,Panjabi
per,fas,fa,Persian
pli,,pi,Pali
pol,,pl,Polish
por,,pt,Portuguese
pus,,ps,Pushto
que,,qu,Quechua
roh,,rm,Romansh
rum,ron,ro,Romanian
run,,rn,Rundi
rus,,ru,Russian
sag,,sg,Sango
san,,sa,Sanskrit
sin,,si,Sinhala
slo,slk,sk,Slovak
slv,,sl,Slovenian
sme,,se,Northern Sami
smo,,sm,Samoan
sna,,sn,Shona
snd,,sd,Sindhi
som,,so,Somali
sot,,st,Sotho
spa,,es,Spanish
srd,,sc,Sardinian
srp,,sr,Serbian
ssw,,ss,Swati
sun,,su,Sundanese
swa,,sw,Swahili
swe,,sv,Swedish
tah,,ty,Tahitian
tam,,ta,Tamil
tat,,tt,Tatar
tel,,te,Telugu
tgk,,tg,Tajik
tgl,,tl,Tagalog
tha,,th,Thai
tib,bod,bo,Tibetan
tir,,ti,Tigrinya
ton,,to,Tonga (Tonga Islands)
tsn,,tn,Tswana
tso,,ts,Tsonga
tuk,,tk,Turkmen
tur,,tr,Turkish
twi,,tw,Twi
uig,,ug,Uighur
ukr,,uk,Ukrainian
urd,,ur,Urdu
uzb,,uz,Uzbek
ven,,ve,Venda
vie,,vi,Vietnamese
vol,,vo,Volap�k
wel,cym,cy,Welsh
wln,,wa,Walloon
wol,,wo,Wolof
xho,,xh,Xhosa
yid,,yi,Yiddish
yor,,yo,Yoruba
zha,,za,Zhuang
zul,,zu,Zulu
Source file: http://www.loc.gov/standards/iso639-2/ascii_8bits.html
Adapated mainly by deleting unused columns/lines. Note we only really need 2 letter codes.
Imported into the common_language table before mysqldump through PHPMyAdmin
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment