This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git


The following commit(s) were added to refs/heads/main by this push:
     new 778a455e Use English for country names (#734)
778a455e is described below

commit 778a455e5e8dbbbe0f5d18e61f04c2d844c60f4d
Author: Yahia1018 <[email protected]>
AuthorDate: Sun Jul 30 20:07:40 2023 +0200

    Use English for country names (#734)
---
 .../src/main/java/org/apache/baremaps/utils/IsoCountriesUtils.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/baremaps-core/src/main/java/org/apache/baremaps/utils/IsoCountriesUtils.java 
b/baremaps-core/src/main/java/org/apache/baremaps/utils/IsoCountriesUtils.java
index b3bf8e1d..6c3e9c74 100644
--- 
a/baremaps-core/src/main/java/org/apache/baremaps/utils/IsoCountriesUtils.java
+++ 
b/baremaps-core/src/main/java/org/apache/baremaps/utils/IsoCountriesUtils.java
@@ -28,7 +28,7 @@ public class IsoCountriesUtils {
   static {
     for (String iso : Locale.getISOCountries()) {
       Locale l = new Locale("", iso);
-      ISO_COUNTRIES.put(iso, l.getDisplayCountry());
+      ISO_COUNTRIES.put(iso, l.getDisplayCountry(Locale.ENGLISH));
     }
   }
 

Reply via email to