Skip to content

Commit 7de61f6

Browse files
author
Peter
committed
use correct iso code 'cs_CZ' for czech instead of country code 'cz'
1 parent a9c39a3 commit 7de61f6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

core/src/main/java/com/graphhopper/util/TranslationMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public class TranslationMap
3131
{
3232
// ISO codes (639-1), use 'en_US' as reference
33-
private static final List<String> LOCALES = Arrays.asList("ar", "bg", "ca", "cz", "de_DE", "el",
33+
private static final List<String> LOCALES = Arrays.asList("ar", "bg", "ca", "cs_CZ", "de_DE", "el",
3434
"en_US", "es", "fa", "fil", "fi", "fr", "gl", "he", "hsb", "hu_HU", "it", "ja",
3535
"lt_LT", "ne", "nl", "pl_PL", "pt_BR", "pt_PT", "ro", "ru", "si", "sk",
3636
"sv_SE", "tr", "uk", "vi_VI", "zh_CN");

web/src/main/java/com/graphhopper/http/I18NServlet.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
import javax.servlet.http.HttpServletRequest;
2929
import javax.servlet.http.HttpServletResponse;
3030

31-
import static javax.servlet.http.HttpServletResponse.*;
32-
3331
import org.json.JSONObject;
3432

3533
/**

0 commit comments

Comments
 (0)