开发者

Localized country names

Where can I get 开发者_开发知识库the country names in all languages? I need these to localize an application.


The proper location to get this information from is CLDR - Unicode Common Locale Data Repository.

There you can find an updated list of countries (core/common/main), the data is available in numerous formats.


I recommend this site: https://github.com/umpirsky/country-list

List of all countries with names and ISO 3166-1 codes in all languages and data formats.


There's probably an ISO standard document you can buy (a useful standard is ISO 3166-1, I think).

On the other hand, you might just be able to scrape through the various language versions of this wikipedia page, since it has a list of country names. I did a random check and it seemed the entire list was in at least one non-English language, too.


A know this is an old post but I found something that might help others who end up viewing this post via a google search.

This alternative to a select list gives (some) localised country names.

selectToAutocomplete by Jamie Appleseed

Take a look at the data-alternate-spelling tag for the items within the select menu.


IP2Location provide a free CSV formatted list of country names in 81 different languages. I've found this the most useful list for this purpose. The data can be fairy easily transformed into different formats if required:

https://www.ip2location.com/free/country-multilingual

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜