-
-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option/setting to change the preferred language on the map. #391
Comments
What is your OS and use case? |
Android 10.0 (LineageOS 17.1). I'm using English language in OS, but with OM the Russian language would be better 'cause there's no transliterated names and I don't have to recall english names for categories when searching for and adding objects. Also I recall from the Telegram "NO CRYPTO" group that there's no such problem in iOS 'cause it allows to change language through OS's application info page (someon even attached a screenshot there) |
Thanks. I remember there were some apps like App Locale or similar, which allowed to change locale on a per-app basis.
And I agree that it may be a useful option for Android in cases like yours. We'll see when we have time to add it (or you may contribute yourself ;-) )
|
I know Signal supports this, if you're looking for example code. F-Droid supports it only on old releases: https://github.com/f-droid/fdroidclient/blob/1.12.1/app/src/main/java/org/fdroid/fdroid/Languages.java |
Good day |
After speaking with different users, looks like the issue is not with the app's interface language, but with the language of the map. So the best solution for everyone, and the easiest to implement for us, will be to add a setting to choose/override the map language but leave the app's interface the same as the system one. |
In OSMAnd it is possible to change both interface and map language independently, that is what I would vote for. :-) |
What is the reason to have interface language different from the system language and other app's interfaces language? In my opinion, changing the interface is 1) unnecessary and 2) complex to implement and may lead to new bugs. |
As someone who has implemented changing the interface language in an app, I can
say it is complicated and leads to bugs. I think it is only worth taking on if
a dev can devote a good chunk of time to implementing it.
|
I would like overriding the system language for UI and map independently. Additional use cases are when learning a language and only want to change the UI language for this particular app e.g. Spanish but keep the transliterations in Japan e.g. to English. Another use case is to easily check translations (UI and/or map) without chaging the language of your system, needed by other apps. |
The basic use case is that I'd like to see map labels in languages I understand and limit seeing labels in languages unfamiliar to me. E.g. I'm comfortable with English and Russian. In UK I'd like to see labels in English, in Russian I'd like to see labels in Russian, generally I don't want to see secondary EN labels in Russia - they just add clutter to the map. When I travel in Georgia I'd like to see labels in either English or Russian. If none of them is available for the feature - then a transliterated Georgian version. Generally I don't want to see labels in Georgian script because I can't read it, some rare cases when I'd want to see it - when communicating with locals or when looking for e.g. a specific cafe with a sign in Georgian. I'd like to be able to search in all three languages (en, ru, georgian). When I travel in Bulgaria I don't want Bulgarian labels transliterated into latin - although I don't understand Bulgarian, but I can read cyrillic script just fine. Likewise in Turkey - I don't know Turkish, but I can read its script, so no transliteration needed. When some text is transliterated for me then I'd like to know it (to be hinted about this somehow) - so that I don't confuse transliteration with e.g. original EN name of the feature. Another more rare use case is when I travel in a Spanish-speaking countries. I'd like to see labels in English and Spanish simultaneously, because my spanish is not good enough to understand everything, but its important to see it to keep improving. |
In modern Androids (starting from 7?) its possible to set a few languages in the system and order them manually. The first one sets the UI language. I think OM should honor those settings:
I guess this will make a manual map lang selection option not needed. Probably the only use case not covered is a secondary language learning when its best to display labels in both primary and secondary language. Maybe we'll need an option for that indeed. I don't know if its possible to have several languages selected in iOS though. |
For maximum customization, I think choosing a language per app is the best. For some apps, like maps, one also needs ordered list of languages for the content. E.g. in Barcelona, I'd like Spanish UI but Catalan content, because it is like that on the street name signs. 🤷♂️ |
So the priority for map label languages shall look like
For a particular Catalonia use case above we'll need to review local languages order too, because at the moment Spanish has a precedence
|
OM already supports lists of languages preferred by the user from the device's settings. Current language selection for maps rendering already tries to follow some of the mentioned wishes. |
Separate interface language is not important, map language is. And, well, it can't just match system - e.g. for Spain or Russia or whatever it'd be better to see local names but i don't know Spanish and will not switch OS or app interface language to Spanish |
@thousandsofthem Only a few Spanish places will have some translations in your system's language. Others will be displayed as is, in Spanish. |
Hello. I have two languages in my phone system - Chinese and English. Applications that have a choice of language work without problems in Russian (my native language). There are applications in which the choice of language is the choice of the system language (those that are in the system). Accordingly, you cannot select Russian in these applications, although it is there. So I am for choosing a language in the application itself. I hope I explained it clearly. Thank you. |
Starting from Android 13 users can select any custom language for any app. |
Doesn't solve it at all. The language of the app is not the same as the language of the map.
|
Yes. Only for you, changing the language is tied to the phone locale, but in my phone I have English and Chinese. Accordingly, I cannot change the language to Russian. And in applications where a list of languages is available for selection (in the application itself), the language changes without problems. |
"And in applications where a list of languages is available for selection (in the application itself), the language changes without problems." Yes, that is common practise and gives the user direct control. Sometimes you want a language independently of your installed locales, and with waiting for Android 13 for your device. |
I have Android 13. |
Android 13 allows to choose languages that are supported by the app, independently of system languages. |
Why do you continue to discuss the choice of application language in the issue about choosing the map language? These are two huge differences. |
Read OsmAnd docs if you still confused about this feature: https://osmand.net/docs/user/map/vector-maps#map-language |
…ith hardcoded languages Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
OM inherits language from the OS. It would be nice to add option to change app's language
The text was updated successfully, but these errors were encountered: