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

Home Page:http://stefangabos.github.io/world_countries/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Separate simplified and traditional Chinese versions needed

peter17ji opened this issue · comments

Some of the countries have different translation in simplified and traditional Chinese, thus should be collected separately. For example, Antigua and Barbuda(zh-tw:安地卡及巴布達; zh-cn:安提瓜和巴布达) and Cyprus(zh-tw:賽普勒斯;zh-cn:塞浦路斯).
Wikipedia provides many kinds of Chinese variation, including Mainland China Chinese(zh-cn), Taiwan Chinese(zh-tw), Hong Kong Chinese(zh-hk)(not to be confused w/ Cantonese), Macau Chinese(zh-mo), Singapore Chinese(zh-sg) and Malaysia Chinese(zh-my). Mainly zh-cn and zh-tw are needed, but finishing all these versions is appreciated.

This is what I am currently using. Is this the simplified Chinese? Please give me a link to the other one and I'll definitely add it. Thanks!

This is what I am currently using. Is this the simplified Chinese? Please give me a link to the other one and I'll definitely add it. Thanks!

No, it's currently a mix-up. It both contains zh-cn(克罗地亚, zh-tw:克羅埃西亞) and zh-tw(賽普勒斯, zh-cn:塞浦路斯).

Again, if you give me links to a correct and constantly updated list of countries (preferable from Wikipedia) I will very gladly add to the list. If the Wikipedia list is not up to date or it is incorrect, by all means, go and update the list - that is what Wikipedia is about after all! I did so for the list in Romanian.

Better use a headless Chrome instead of HTML parser like Beautiful Soup, because Chinese variations' conversion is done on-the-fly.

This is now fixed by #32 and #35 and available in release 1.1.1

You can also grab it from npm or customize your download