diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 75ae3c96c4..88043ef0f5 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -548,6 +548,11 @@ public class ConfigureMapMenu { if (i1 != i2) { return i1 < i2 ? -1 : 1; } + i1 = lhs.equals(getString(R.string.system_locale) + " (" + getString(R.string.system_locale_no_translate) + ")") ? 0 : (lhs.equals(getString(R.string.lang_en)) ? 1 : 2); + i1 = rhs.equals(getString(R.string.system_locale) + " (" + getString(R.string.system_locale_no_translate) + ")") ? 0 : (rhs.equals(getString(R.string.lang_en)) ? 1 : 2); + if (i1 != i2) { + return i1 < i2 ? -1 : 1; + } return mp.get(lhs).compareTo(mp.get(rhs)); } });