-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Some strings use the previous language when it is changed in app on API > 24 #8114
Comments
BackgroundDue to the deprecation of
More detail about this is in the PR which introduced it: #7413. Cause of the issueThe broken strings are those that are fetched using our static Context with Possible solutions
With all of this it is worth noting that I am very new to this codebase so please let me know if I'm way off on any of this 😄 |
Hi, I followed the reproduction steps in the latest release of WordPress, but still can find the same problem as stated here. I was wondering if it is related to this issue. Test device: Huawei P30 Lite, Android 9.0 Steps to reproduce: Here is the screenshot you can check. Thanks a lot for your great work. |
Thanks @huaxunhuang, I am reopening this issue. cc @designsimply |
Expected behavior
When the language is changed in the app settings, all strings should be in the new language.
Actual behavior
Some strings (most noticeable on the Stats screen) stay in the old language. I encountered this while working on screenshot automation across locales but it also happens in normal usage.
Note that the issue resolves itself on next launch of the app.
Here is a screenshot of the stats screen with mixed language:
Steps to reproduce the behavior
Tested on Emulator, Android 24
Worked as expected (stats screen was fully translated).
Tested on Emulator, Android 25
The behaviour was broken as in the screenshot above.
Tested on Emulator, Android 27
Same as version 25.
The text was updated successfully, but these errors were encountered: