Closed Bug 1887019 Opened 3 months ago Closed 3 months ago

Set `id-ID` on accept-language, not `in-ID`

Categories

(GeckoView :: General, defect)

All
Android
defect

Tracking

(firefox124 unaffected, firefox125+ fixed, firefox126+ fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox124 --- unaffected
firefox125 + fixed
firefox126 + fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

When setting Indonesia as Locale, we should set id-ID on accept-language, not in-ID. This is regression by 1847701.

Android may return old language code. So we should replace with newer
language code like desktop and etc.

Also, I would like to move it to org.mozilla.gecko.util to write unit test.

Set release status flags based on info from the regressing bug 1847701

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/0d22ca4e6803
Don't use old language code on accept-language. r=geckoview-reviewers,platform-i18n-reviewers,ohall,dminor
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch

Please nominate this for Beta approval ASAP so we can get this fixed for the Fx125 RC build on Monday.

Flags: needinfo?(m_kato)

Comment on attachment 9392762 [details]
Bug 1887019 - Don't use old language code on accept-language. r=#geckoview-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: When UI language is Indonesian, accept-language in HTTP request has in-ID. We should be "id-ID" for this language.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Convert legacy languages to new langues only.
  • String changes made/needed: No
  • Is Android affected?: Yes
Flags: needinfo?(m_kato)
Attachment #9392762 - Flags: approval-mozilla-beta?
See Also: → 1889845

Comment on attachment 9392762 [details]
Bug 1887019 - Don't use old language code on accept-language. r=#geckoview-reviewers

Approved for 125.0rc1.

Attachment #9392762 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: in-testsuite+
Component: Core → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: