Merge pull request #10906 from osmandapp/7891

Allow to disable en transliteration
This commit is contained in:
vshcherb 2021-03-15 17:44:21 +01:00 committed by GitHub
commit b7dd8dca05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,8 +183,7 @@ public abstract class MapObject implements Comparable<MapObject> {
public String getName(String lang, boolean transliterate) {
if (lang != null && lang.length() > 0) {
if (lang.equals("en")) {
// ignore transliterate option here for backward compatibility
return getEnName(true);
return getEnName(transliterate);
} else {
// get name
if (names != null) {