Skip to content

Commit

Permalink
Fix locale. (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
CTMBNara authored Jan 28, 2025
1 parent 89d68f2 commit 26dce4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private List<ThrottlingMessage> 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) {
Expand Down

0 comments on commit 26dce4d

Please sign in to comment.