Allow to disable en transliteration
This commit is contained in:
parent
7ee01b1f6d
commit
4733919c3c
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,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")) {
|
||||
if (lang.equals("en") && !getEnName(transliterate).isEmpty()) {
|
||||
// ignore transliterate option here for backward compatibility
|
||||
return getEnName(true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue