Closed
Bug 841758
Opened 11 years ago
Closed 11 years ago
zh-hk on mobile sends Accept-Language: zh-cn instead of zh-tw
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox19- wontfix)
RESOLVED
WORKSFORME
People
(Reporter: henry.fai.hang.chan, Unassigned)
Details
Attachments
(1 file)
203.49 KB,
image/png
|
Details |
zh-hk on mobile now uses zh-tw, but the Accept-Language header is still erroneously zh-cn. Visit http://www.wyavtv.org/test-html5-video.php and scroll down to "HTTP_ACCEPT_LANGUAGE".
Comment 1•11 years ago
|
||
On my Samsung Galaxy Note II; Android 4.2, locale customized to zh-HK loading the URL and I see: ["HTTP_ACCEPT_LANGUAGE"]=> string(35) "zh-tw,zh;q=0.8,en-us;q=0.5,en;q=0.3" Why does it work for me?
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
I'm on Galaxy W, Android 2.3.6 Locale is zh-HK as per factory setting ["HTTP_ACCEPT_LANGUAGE"]=> string(35) "zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3" Why doesn't it work for me...?
Reporter | ||
Comment 4•11 years ago
|
||
Above was tested on 3G, Wifi gives the same result.
Comment 5•11 years ago
|
||
(In reply to henryfhchan from comment #4) > Above was tested on 3G, Wifi gives the same result. Does this bug reproduce if you uninstall and re-install Firefox?
Comment 6•11 years ago
|
||
Also, can you confirm that you're reproducing with the build at https://ftp.mozilla.org/pub/mozilla.org/mobile/releases/19.0b6/android/multi/fennec-19.0b6.multi.android-arm.apk?
Reporter | ||
Comment 7•11 years ago
|
||
The bug doesn't reproduce in fennec 19.0b6. I checked about:config in nightly, and intl.accept_languages was set to "zh-cn, zh, en-us, en" and I am quite sure I have not tinkered with it. I suspect that this was set during installation and was left there after the change in behavior. Maybe Firefox should reset that pref with the landing of 839380? Having the default pref as of intl.accept_languages as "zh-hk, zh-tw, zh, en-us, en" (vs "zh-tw, zh, en-us, en" after resetting prefs) would be an extra bonus ;)
Comment 8•11 years ago
|
||
(In reply to henryfhchan from comment #7) > The bug doesn't reproduce in fennec 19.0b6. Given that, and the fact that most Chinese speaking users will be installing Firefox for the first time, no need to take action for FF19.
status-firefox19:
--- → wontfix
tracking-firefox19:
--- → -
Comment 9•11 years ago
|
||
I tried clean install 19.0b1 (intl.accept_languages; zh-ch,zh,en-us,en) -- I then upgraded to 19.b6 via Google Play (intl.accept_languages; zh-tw,zh,en-us,en); the switch changed for me.
Comment 10•11 years ago
|
||
Shouldn't be an issue anymore
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•