intl.accept_languages set to "en-US, en" when first start in chinese OS
Categories
(Core :: Internationalization, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | wontfix |
firefox77 | --- | wontfix |
firefox78 | --- | fix-optional |
People
(Reporter: wangqing-hf, Unassigned, NeedInfo)
Details
Attachments
(2 files, 1 obsolete file)
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
- Firefox Privacy Notice---the page will open with firefox first start.
- 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
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
(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
Updated•5 years ago
|
Comment 4•5 years ago
|
||
S1 or S2 bugs needs an assignee - could you find someone for this bug?
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Wang, does this still occurs?
Comment 6•5 years ago
|
||
No other report for this related issue. If this still occurs, I will look this.
Comment 7•4 years ago
|
||
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.
Description
•