Localized country names

前端 未结 5 816
花落未央
花落未央 2020-12-14 11:34

Where can I get the country names in all languages? I need these to localize an application.

相关标签:
5条回答
  • 2020-12-14 12:09

    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.

    0 讨论(0)
  • 2020-12-14 12:15

    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.

    0 讨论(0)
  • 2020-12-14 12:17

    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 讨论(0)
  • 2020-12-14 12:24

    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.

    0 讨论(0)
  • 2020-12-14 12:28

    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.

    0 讨论(0)
提交回复
热议问题