wordpress-mobile / wordpress-mobile/WordPress-Android
Device language changes not being automatically detected
Open
Nobody has claimed this yet.
[Type] Bug
i18n
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When the device language is changed, the App's language selection should change accordingly (or at least make a best effort)
Actual behavior
Language in the app doesn't change
Steps to reproduce the behavior
- set the device language to whatever
- fresh install the app
- observe the app shows itself in the device language
- now change the device language
- switch back to the app
- observe the app still shows itself in the previously selected language, even if changing activities (i.e. tap on signing or register screen). Only way to make the app read the device locale settings again is by force-closing it and re-opening.
Tested on [Google Pixel], Android [8.1]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the locale change on Android 8.1 using the steps in the issue, then inspect the app's locale handling when it returns from the background. Done means the app detects a changed device language without requiring a force-close, including on the signing and registration screens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- internationalization, localization, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100