Set selected language on the gecko side to be the selected language on the java side

RESOLVED FIXED

Status

()

Firefox for Android
General
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: Pike, Unassigned)

Tracking

19 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox19-)

Details

(Reporter)

Description

4 years ago
As we've found in bug 839380 for zh-HK, having two "matchOS" language selection algorithms can result in awkward behavior, with different selections on the java and the gecko side.

We should explicitly set the locale in gecko to the one that is picked on the java side, and not rely on both picking the same value based on OS preference.

I'm hoping this will be a minor hit if at all on startup perf, as we're not resetting the dalvik process, but just tweaking a pref on the gecko side.

Comment 1

4 years ago
For the short term fix, we're going with bug 839883.
tracking-firefox19: ? → -

Comment 2

4 years ago
or maybe this should be opposite? (Set selected language on the java side to be the selected language on the gecko side)

Comment 3

4 years ago
But since gecko starts up later than java, that would mean the patch for Bug 839380 should be refactored (later) for changing the language on the Java side first.
This was done by Bug 936756 and Bug 1045053.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Depends on: 936756, 1045053
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.