Closed Bug 1582402 Opened 5 years ago Closed 3 years ago

intl.accept_languages set to "en-US, en" when first start in chinese OS

Categories

(Core :: Internationalization, defect, P2)

71 Branch
defect

Tracking

()

RESOLVED INACTIVE
Tracking Status
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fix-optional

People

(Reporter: wangqing-hf, Unassigned, NeedInfo)

Details

Attachments

(2 files, 1 obsolete file)

Attached image languages.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3189.0 Safari/537.36

Steps to reproduce:

When first start firefox(you could delete .mozilla files), you will find some pages can not display chinese in Chinese OS environment

  1. Firefox Privacy Notice---the page will open with firefox first start.
  2. open about:Preferences --> Languages -->select "Choose your preferred language for displaying pages"
    Only en-Us and en for you choice, and not have zh-CN. etc

Actual results:

Open about:config and you will find intl.accept_languages="en-US, en"
but, when you closed firefox and open again, firefox will be display chinese normally, and intl.accept_languages="zh-CN,zh,zh-TW,zh-HK,en-US, en"

I test firefox71 on linux-x86 and linux-mips64, there are all such problems,
but test firefox60, it could display chinese when first start, No second opening is required to display correctlly.

I upload some pictures to show this question.

Expected results:

pages could be display chinese in Chinese OS environment when firefox first start.

If not delete "chrome://global/locale/intl.properties" from a basic
StringBundle implementation using shared memory maps, will lead to
many prefNames value not correct when firefox first start. such as:
general.useragent.locale
intl.accept_languages
font.language.group
intl.menuitems.insertseparatorbeforeaccesskeys

Depends on D45620

Component: Untriaged → Preferences
Attachment #9094102 - Attachment is obsolete: true
Component: Preferences → Internationalization
Product: Firefox → Core
Priority: -- → P2

(Almost) same problem here with Firefox 68.1.0esr (64Bit) on a german openSUSE Leap 15.0 system. ("Almost" because the problem persists even after restarting firefox.)

After the update to FF 68.1.0esr pages like google-news displayed english content.
about:config shows intl.accept_languages = "en-US, en"
In about:preferences -> preferred language -> Button "Choose..." there is no "german" available, only [en-US] and [en].

I then started firefox with -P and created a clean new profile, but same behavior as before.

Regards,
Chris

Severity: normal → S2

S1 or S2 bugs needs an assignee - could you find someone for this bug?

Flags: needinfo?(m_kato)

Wang, does this still occurs?

Flags: needinfo?(m_kato) → needinfo?(wangqing-hf)

No other report for this related issue. If this still occurs, I will look this.

Severity: S2 → S3

I'd prefer not to invest in further improvements to StringBundle, and we didn't hear back from the reporter. I'm going to close it as inactive. Reopen if needed.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: