How to get the list of country names in a language (english for instance)?
Posted
by fabien7474
on Stack Overflow
See other posts from Stack Overflow
or by fabien7474
Published on 2010-06-02T15:08:03Z
Indexed on
2010/06/02
15:14 UTC
Read the original article
Hit count: 206
Using Java, you can get the list of ISO2 codes through Locale.getISOCountries()
(see this related question http://stackoverflow.com/questions/712231/best-way-to-get-a-list-of-countries-in-java).
However, I would like to have the list of all country names (in English for example) and not the list of ISO2 country codes. How can I do that by programming in Java or Groovy ?
Thank you very much,
Fabien.
© Stack Overflow or respective owner