Skip to content

Commit 1b06ed3

Browse files
committed
New synonyms
1 parent 877348b commit 1b06ed3

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

app/utils/countrycodes.py

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,61 @@
279279
"Hong Kong SAR" : "Hong Kong",
280280
"Taipei and environs" : "Taiwan, Province of China",
281281
"occupied Palestinian territory" : "Palestine, State of",
282-
# "Others" has no mapping
282+
"South Korea" : "Korea, Republic of",
283+
"Iran" : "Iran, Islamic Republic of",
284+
"Vatican City" : "Holy See (Vatican City State)",
285+
"DR Congo" : "Congo, the Democratic Republic of the",
286+
"Tanzania" : "Tanzania, United Republic of",
287+
"Venezuela" : "Venezuela, Bolivarian Republic of",
288+
"North Korea" : "Korea, Democratic People's Republic of",
289+
"Syria" : "Syrian Arab Republic",
290+
"Bolivia" : "Bolivia, Plurinational State of",
291+
"Laos" : "Lao People's Democratic Republic",
292+
"State of Palestine" : "Palestine, State of",
293+
"Moldova" : "Moldova, Republic of",
294+
"Eswatini" : "Swaziland",
295+
"Cabo Verde" : "Cape Verde",
296+
"Sao Tome & Principe" : "Sao Tome and Principe",
297+
"Micronesia" : "Micronesia, Federated States of",
298+
"St. Vincent & Grenadines" : "Saint Vincent and the Grenadines",
299+
"U.S. Virgin Islands" : "Virgin Islands, U.S.",
300+
"Saint Kitts & Nevis" : "Saint Kitts and Nevis",
301+
"Faeroe Islands" : "Faroe Islands",
302+
"Sint Maarten" : "Sint Maarten (Dutch part)",
303+
"Turks and Caicos" : "Turks and Caicos Islands",
304+
"Saint Martin" : "Saint Martin (French part)",
305+
"British Virgin Islands" : "Virgin Islands, British",
306+
"Wallis & Futuna" : "Wallis and Futuna",
307+
"Saint Helena" : "Saint Helena, Ascension and Tristan da Cunha",
308+
"Saint Pierre & Miquelon" : "Saint Pierre and Miquelon",
309+
"Falkland Islands" : "Falkland Islands (Malvinas)",
310+
"Republic of Ireland" : "Ireland",
311+
"Ivory Coast" : "Côte d'Ivoire",
312+
" Azerbaijan" : "Azerbaijan",
313+
# Conjoin North Ireland on United Kingdom
314+
"North Ireland" : "United Kingdom",
315+
"East Timor" : "Timor-Leste",
316+
"São Tomé and Príncipe" : "Sao Tome and Principe",
317+
# Guernsey and Jersey form Channel Islands. Conjoin Guernsey on Jersey.
318+
# Jersey has higher population.
319+
# https://en.wikipedia.org/wiki/Channel_Islands
320+
"Guernsey and Jersey" : "Jersey",
321+
"Channel Islands" : "Jersey",
322+
"Caribbean Netherlands" : "Bonaire, Sint Eustatius and Saba",
323+
"F.S. Micronesia" : "Micronesia, Federated States of",
324+
"Emirates" : "United Arab Emirates",
325+
# "Bosnia–Herzegovina" : "Bosnia and Herzegovina",
326+
"Bosnia" : "Bosnia and Herzegovina",
327+
"Dominican Rep" : "Dominican Republic",
328+
"Macedonia" : "North Macedonia",
329+
"Korea, South" : "Korea, Republic of",
330+
"Cote d'Ivoire" : "Côte d'Ivoire",
331+
"St. Martin" : "Saint Martin (French part)",
332+
"Congo (Kinshasa)" : "Congo, the Democratic Republic of the",
333+
"Taiwan*" : "Taiwan, Province of China",
334+
"Reunion" : "Réunion",
335+
# "Others" has no mapping, i.e. the default val is used
336+
# "Cruise Ship" has no mapping, i.e. the default val is used
283337
}
284338

285339
def country_code(country):

0 commit comments

Comments
 (0)