diff --git a/extra/modules/greenbids-real-time-data/src/main/java/org/prebid/server/hooks/modules/greenbids/real/time/data/core/GreenbidsInferenceDataService.java b/extra/modules/greenbids-real-time-data/src/main/java/org/prebid/server/hooks/modules/greenbids/real/time/data/core/GreenbidsInferenceDataService.java index c16a8de917f..ce0b9f3f806 100644 --- a/extra/modules/greenbids-real-time-data/src/main/java/org/prebid/server/hooks/modules/greenbids/real/time/data/core/GreenbidsInferenceDataService.java +++ b/extra/modules/greenbids-real-time-data/src/main/java/org/prebid/server/hooks/modules/greenbids/real/time/data/core/GreenbidsInferenceDataService.java @@ -115,7 +115,7 @@ private List extractMessagesForImp( private static String getCountryNameFromAlpha2(String isoCode) { return StringUtils.isBlank(isoCode) ? StringUtils.EMPTY - : new Locale(StringUtils.EMPTY, isoCode).getDisplayCountry(); + : Locale.forLanguageTag("und-" + isoCode).getDisplayCountry(Locale.ENGLISH); } private String getCountry(String ip) {