Closed Bug 1818886 Opened 3 years ago Closed 2 years ago

Many websites display Simplified Chinese with GeckoView on Traditional Chinese Android

Categories

(Core :: Internationalization, defect, P3)

Firefox 111
Unspecified
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1847701

People

(Reporter: yan12125, Unassigned)

References

(Depends on 1 open bug)

Details

Steps to reproduce:

  1. Set the Android system language to 繁體中文 (台灣) (Traditional Chinese (Taiwan)) and English (United States)
  2. 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

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.

OS: Unspecified → Android

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.

Flags: needinfo?(m_kato)
Component: Internationalization → General
Flags: needinfo?(m_kato)
Product: Core → GeckoView

I should keep Core:I18N due to bug 1765375. When fixing bug 1765375, I have to verify this.

Component: General → Internationalization
Product: GeckoView → Core
Severity: -- → S3
Priority: -- → P3
Depends on: 1765375

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.

(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.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1847701
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.