-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
UI shows incorrect language #1527
Comments
IIRC that is the default behavior for missing translations in the regional specific locales. |
I note an untranslatable string named settings_layout_reset_key was translated in values-zh-rTW/strings.xml. |
Actually, those should not be translated as they are purely technical. I will remove these translations. |
Since you are on Android 13, how do you set the language? PS/ |
This issue started in v4.3.0. Btw, I saw settings_layout_reset_key on Weblate is still translated. |
@elastic-rock this seems to be an effect of #1468. |
@elastic-rock ping |
I confirm that I am alive and know about it, but I unfortunately had not the time to do it yet. I shall do it in a week max.
|
@nthtimes could you check that this fixing your issue? |
Now, it is correctly shows my language by system or manually specify. |
So, now it gets dirty. I did some digging into when things started going wrong. I compiled the APK for different versions and checked the included locales
In the repo, we have 54 locales... So, all the configuration for Android 13's per app language support (included in v4.3.0) some leads to omit locales (especially country-specific locales). |
... but all that does not explain why the wrong regional locale is shown now. |
@nthtimes could you check if this is still broken for you using the v4.3.5? |
This is still broken in the v4.3.5. |
I just tested this using an Android 13 emulator and replaced zh, zh_HK, and zh_TW with a locale I can distinguish. The regions I get shown are these (screenshot below). Don't really know what else to test :/ |
In Weblate, we have three flavors of Chinese:
First, I don't know why Weblate is mapping zh_Hans to zh-rTW. I am really at a loss here on how to continue. |
UI shows incorrect language in some cases.
Language settings:
Technical information
The text was updated successfully, but these errors were encountered: