Do not transliterate if app language is ru or uk
This commit is contained in:
parent
d18db9bbb1
commit
ab2ed791b1
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ public class MapRenderRepositories {
|
||||||
if(requestedBox.getZoom() <= zoomOnlyForBasemaps &&
|
if(requestedBox.getZoom() <= zoomOnlyForBasemaps &&
|
||||||
"".equals(prefs.MAP_PREFERRED_LOCALE.get())) {
|
"".equals(prefs.MAP_PREFERRED_LOCALE.get())) {
|
||||||
currentRenderingContext.preferredLocale = app.getLanguage();
|
currentRenderingContext.preferredLocale = app.getLanguage();
|
||||||
currentRenderingContext.transliterate = true;
|
currentRenderingContext.transliterate = !"ru".equals(app.getLanguage()) && !"uk".equals(app.getLanguage());
|
||||||
} else {
|
} else {
|
||||||
currentRenderingContext.preferredLocale = prefs.MAP_PREFERRED_LOCALE.get();
|
currentRenderingContext.preferredLocale = prefs.MAP_PREFERRED_LOCALE.get();
|
||||||
currentRenderingContext.transliterate = prefs.MAP_TRANSLITERATE_NAMES.get();
|
currentRenderingContext.transliterate = prefs.MAP_TRANSLITERATE_NAMES.get();
|
||||||
|
|
Loading…
Reference in a new issue