stefangabos / world_countries

Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP, SQL and XML formats, in multiple languages and with national flags included; also available are the ISO 3166-2 codes of provinces/ states associated with the countries
http://stefangabos.github.io/world_countries/
Other
1.39k stars 378 forks source link

Kosovo is missing in world list #65

Open totti-rdz opened 2 years ago

totti-rdz commented 2 years ago

FIrst of all, thanks for work!

I've recently used your world list to translate a list of around 250 country codes. But I've noticed that the country code "xk" for "Kosovo" didn't get translated and after further research I found, that Kosovo and it's code are not represented in your world list based on ISO-3166.

Opening up the german wikipedia page for ISO-3166 it is there, but not on the englisch wikipedia page it doesn't seem to be there.

Notice, that Kosovo doesn't have a numeric ISO-3166 code

I'm not sure, if not containing Kosovo is intended, but in case not, I wanted to notify you of my findings.

stefangabos commented 2 years ago

see this

totti-rdz commented 2 years ago

Sorry for not expressing myself cleary, I meant the world.* files you are mentioning in the linked issue:

therefore, Kosovo is in the extended list contained in the world.* files

Before creating this issue I verified that I did download the correct file with all 249 countries. And now before writing this comment I downloaded both, the world. and countries. files in JSON and tried to search for "xk" or "kosovo" in VS Code, but as far as I can see these list do not contain Kosovo.

I attach two screenshots. The first with the download config I chose.

Bildschirmfoto 2022-04-26 um 17 16 16

And the second of VS Code with the JSON opened and searching for Kosovo.

Bildschirmfoto 2022-04-26 um 17 18 47

I am aware that searching in VS Code has different options such as case sensitive search and I toggled everyone of them to make sure that one option isn't prevent VS Code to find Kosovo.

stefangabos commented 2 years ago

you are right! i don't know what happened but i am on it now. thanks for pointing this out

FlexMaunz commented 1 year ago

Hello, thanks for this awesome List. I would like to ask, what is the standing on this issue.

stefangabos commented 1 year ago

all the data starts from the data here and kosovo is not there. since all the other languages are basing there data on this page, there's no kosovo in those either...

if i had a source where i'd find kosovo's name in all supported language i could take if from there

UweKeim commented 1 year ago

Interestingly enough the German Wikipedia page about ISO 3166-1 does include Kosovo but also states:

Der Kosovo ist völkerrechtlich umstritten. 115 der 193 UN-Mitglieder haben den Kosovo bisher anerkannt. „X“-Codes wie vielleicht „XK“ oder „XXK“ usw. sind private, nicht maßgebliche Zuweisungen. ISO-Codes existieren bislang nicht.

Which translates to English as approx.:

Kosovo is disputed under international law. 115 of the 193 UN members have recognized Kosovo so far. "X" codes such as perhaps "XK" or "XXK" etc. are private, non-authoritative assignments. ISO codes do not exist yet.

So I guess that is the reason that the English Wikipedia page about ISO 3166-1 does not include the Kosovo.