Core/src/main/java/org/openestate/io/core/LocaleUtils.java
public static String getCountryName(String country, Locale language) {
        country = StringUtils.trimToNull(country);
        if (country == null) return null;

        String iso2Code = LocaleUtils.getCountryISO2(country);
        if (iso2Code != null) {
            String name = StringUtils.trimToNull(
                    new Locale(iso2Code, iso2Code).getDisplayCountry(language));
            if (name != null) return name;
        }
        return null;
    }
public static String getCountryName(String country, Locale language) {
        country = StringUtils.trimToNull(country);
        if (country == null) return null;

        String iso2Code = LocaleUtils.getCountryISO2(country);
        if (iso2Code != null) {
            String name = StringUtils.trimToNull(
                    new Locale(iso2Code, iso2Code).getDisplayCountry(language));
            if (name != null) return name;
        }
        return null;
    }
Return a country name in another language.

@param country  country name
@param language language to translate
@return translated country name or null, if no translation was found