I know there is a way to obtain the country name from a country code, but is it also possible the other way arround? I have found so far no function that converts a String l
Not very efficient, but you can try this:
for (Locale locale : Locale.getAvailableLocales()) {
if (locale.getDisplayCountry(Locale.US).equals("Netherlands")) {
// Found !
}
}
Now, there are a few caveats: