ddavo
April 16, 2024, 4:19pm
1
Issue description:
When trying to change the Interface language, it crashes before letting me choose a language.
Logs:
Upload description: ddavo
Additional information:
Reproduction steps:
The current system language is Spanish
Media provider:
Any provider
Screenshots:
Tolriq
April 16, 2024, 4:21pm
2
There’s no crash in those logs.
The button opens the Android dialog to change the app language.
You can do the same via the app info then language.
ddavo
April 16, 2024, 5:26pm
3
Seems to be a problem with MIUI (the UI of Xiaomi phones), which doesn’t support per-app language
Tolriq
April 16, 2024, 5:32pm
4
Hum the app should not show the button them '(
Can you enable debug logs, force kill the app, go there press the button then return to app and upload new logs?
Would be nice if I could detect that and hide the button.
ddavo
April 16, 2024, 6:06pm
5
I’ve submitted the new logs
Tolriq
April 16, 2024, 6:37pm
6
Thanks, but strange I don’t see what I expected.
What happen when you click the button?
ddavo
April 17, 2024, 5:01pm
7
The app just closes, but the music keeps playing.
Tolriq
April 17, 2024, 5:05pm
8
Are you sure there’s not a system UI that open over it ?
The app information page.
ddavo
April 17, 2024, 5:12pm
9
Yeah, it doesn’t open anything. And if I manually go to the app information page, there isn’t an option to change the language. Is a problem with Xiaomi’s phones it seems.
opened 10:04AM - 18 Apr 23 UTC
Observed
### Description
On xiaomi devices with miui 14 and android 13 stock firmware, it… is impossible to change the language in osmand, since there is no such menu item in the system.
For these devices, it is proposed to leave the language selection item in the application.
And it also led to such an interesting bug described in the Russian-language chat telegram on Osmand:
https://t.me/ruosmand/122271
### Your Environment
OsmAnd Version: OsmAnd~ 4.5.0#35797m, Дата выпуска: 2023-04-17
Android version: 13
Device model: poco f3
https://www.reddit.com/r/PocoPhones/comments/111iw95/android_13s_perapp_language_not_implemented_in/
Tolriq
April 17, 2024, 5:17pm
10
Yes it’s MUI issue, but I was hoping to be able to detect that. Seems the intent is found and understood just do nothing so no easy way.
I can do it by device name but there’s probably custom rom that support that
I guess I’ll just leave it like that and people will find this thread.
Thanks for the details.