-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
App goes back to english language #5942
Comments
Looking at https://github.com/streetcomplete/StreetComplete/blob/master/CONTRIBUTING.md#translating-the-app and https://poeditor.com/projects/po_edit?id_language=152&per_page=20&id=97843 - Spanish should be fully translated (though maybe at time of last release it was not fully translated?) what exactly is showing in English? Maybe iD presets are not fully translated? |
It's not about lack of translation, it's that those menus first are in Spanish and suddenly are in English. Unfortunately it's quite random, so I cannot describe a way to replicate. |
If you go back to app settings - is it still set to Spanish? If you check later similar menu - is it in Spanish again or stuck in English? |
Hi, I was about to reproduce the error. I did like 5 tasks with everything in Spanish, and then I put my phone on the pocket. After 30-45 minutes I took my phone, unlocked it, the app was shown the first thing, and everything was on English. Well, not everything, the settings and "my profile" were still in Spanish. On the settings it was still selected Spanish as the application language. Once I killed the app the Spanish texts are back. I have attached screenshots after the bug happened. |
And your system language is set to English, right? Overriding the system language is a bit of a hack in Android, apparently this kind of hack does not work properly on either Android 14 and/or HyperOS. The settings, about and user screens are still working correctly and are correctly in Spanish because those screens use a different UI framework (not Android, but Jetpack Compose), which manages the whole localization thing differently. That's the reason why it always works there, I presume. |
I don't have an Android 14 at hand, can anyone with an Android 14 reproduce this? |
It seems so from "In an android phone with English in the system" |
|
I've tried it now in Espanol (solving dozen quests, putting it in background for few hours, solving dozen more quests), but couldn't reproduce on my Android 14 (Samsung Galaxy S23+). I've also haven't noticed such behaviour previously on my Croatian StreetComplete (but I would be likely to miss it if it did happen, as I use combination of English SCEE and Croatian StreetComplete. System language is always English). I'll try to pay it closer attention if I can spot it in the future days... |
(Adding feedback required because it couldn't be reproduced by other users yet. We don't know if it is limited to Android 14 only, or HyperOS only, etc) |
I changed the language some days ago and couldn't reproduce the issue so far. I haven't interacted much with StreetComplete though. I'm using a Pixel 6a with stock ROM / Android 14. |
In my situation it is just the other way around. The system setting of my phone (Android 10; SC 59.3) is Dutch but I prefer SC to present questions in English and SC does so for a certain amount of time until the phone is tilted a little causing the app to change from portrait mode to landscape mode. After that the questions are in Dutch and only killing and restarting the app will make it return to English again. |
I think I found the pattern and it's reliably reproducible for me using StreetComplete V59.2 on Android 14 and auto rotate active. Device language set to German, StreetComplete language set to English. Whenever you rotate the screen with the quest dialog open, the language will switch to German (the language from the Android system settings) when opening a new dialog. The currently open dialog doesn't change and keeps the previous language. |
Good catch. Probably that's the reason that made me open this ticket. |
How to Reproduce
In an android phone with English in the system, setting the app in Spanish and use it until it starts showing the texts in English.
Expected Behavior
I was expecting to use the app in Spanish
Versions affected
StreetComplete 59.1 and Android 14 (Xiaomi HyperOS 1.0.7.0)
Hi, so I am using this app to fill the questions. My phone is android, and I have set English as the default language in the phone. I use StreetComplete in Spanish (In order to avoid mistakes). But after using it a while, (Like checking 15-20-25 tasks in my surroundings. Sometimes more time, other less time) the app starts showing texts in English. Like the display of "Type kind of place here".
The text was updated successfully, but these errors were encountered: