wordpress-mobile / wordpress-mobile/WordPress-Android

Device language changes not being automatically detected

Open
#7,559 3 comments 0 reactions 0 assignees View on GitHub

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
  1. set the device language to whatever
  2. fresh install the app
  3. observe the app shows itself in the device language
  4. now change the device language
  5. switch back to the app
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.