Many websites display Simplified Chinese with GeckoView on Traditional Chinese Android
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
People
(Reporter: yan12125, Unassigned)
References
(Depends on 1 open bug)
Details
Steps to reproduce:
- Set the Android system language to
繁體中文 (台灣)(Traditional Chinese (Taiwan)) andEnglish (United States) - Go to https://discourse.mozilla.org/
Actual results:
The website is displayed in Traditional Chinese. For example, "登入/註冊" for the "Log In/Sign Up" button
Expected results:
The website is displayed in Simplified Chinese. For example, "登录/注册" for the "Log In/Sign Up" button
Additional notes:
On my desktop (Linux), Firefox sents Accept-Language: zh-TW,en-US;q=0.7,en;q=0.3. On Android, Fenix sents Accept-Language: zh-Hant-TW,en-US;q=0.5. If I replace zh-Hant-TW with zh-TW, Mozilla Discourse is displayed in Traditional Chinese. Here are testing results for more websites:
Accept-Language header |
zh-TW | zh-Hant | zh-Hant-TW |
|---|---|---|---|
| https://m.facebook.com/ | Traditional Chinese | Simplified Chinese | Simplified Chinese |
| https://mobile.twitter.com/ | Traditional Chinese | Traditional Chinese | Simplified Chinese |
| https://demo.hedgedoc.org/ | Traditional Chinese | English | English |
| https://mail.python.org/mailman3/ | Traditional Chinese | Traditional Chinese | Simplified Chinese |
| https://wiki.debian.org/ | Traditional Chinese | Simplified Chinese | Simplified Chinese |
| https://discourse.mozilla.org/ | Traditional Chinese | Simplified Chinese | Simplified Chinese |
| https://www.debian.org/ | Traditional Chinese | Simplified Chinese | Simplified Chinese |
| Reporter | ||
Comment 1•3 years ago
|
||
The issue may be solved by adding zh-TW as a fallback of zh-Hant-TW. A similar approach is proposed in bug 1765375 as well.
| Reporter | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:m_kato, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
I should keep Core:I18N due to bug 1765375. When fixing bug 1765375, I have to verify this.
Updated•3 years ago
|
| Reporter | ||
Comment 4•2 years ago
|
||
Seems this issue is fixed? A fresh install of Firefox 125.2.0 now sends Accept-Language: zh-TW,en-US;q=0.5, and all test websites I mentioned above display Traditional Chinese as expected.
The release note for Firefox 125 mentions:
Firefox no longer includes the variant and extension of BCP47 in the Accept-Language header of HTTP requests for better interoperability with other browsers.
It's linked with bug 1847701, which seems fixing the exact issue I had.
Comment 5•2 years ago
•
|
||
(In reply to Chih-Hsuan Yen [:yan12125] from comment #4)
Seems this issue is fixed? A fresh install of Firefox 125.2.0 now sends
Accept-Language: zh-TW,en-US;q=0.5, and all test websites I mentioned above display Traditional Chinese as expected.
Yes.
Updated•2 years ago
|
Description
•