|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44668 Browser defaults site to "zh-Hans,zh-Hant" when accepted.
Submitted: 2008-04-08 07:20 UTC Modified: 2008-05-27 12:14 UTC
From: connect at btcentral dot org dot uk Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Mac OS X, 10.5.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: connect at btcentral dot org dot uk
New email:
PHP Version: OS:


 [2008-04-08 07:20 UTC] connect at btcentral dot org dot uk
When using the Camino Browser, under Mac OS 10.5.2, and browsing the functions ie., by default the headings are shown in the zh-Hans or zh-Hant language code (Chinese) if they are part of the browser accepted language string.

Reproduce code:
Browse the functions site, with zh-Hans,zh-Hant as part of the accepted language string. e.g. "en-GB,en-US,en,ja,fr,de,es,it,pt,pt-PT,nl,sv,nb,da,fi,ru,pl,ko,zh-Hans,zh-Hant"

Expected result:
The site to display in the pre-determined language from IP settings, ie. English (en-GB) in this case.

Actual result:
The site displays the headings in Chinese. Removing the zh-Hans or zh-Hant language codes allow the site to default to the correct language - It seems that these language codes are not recognized correctly by the site, and therefore it sets it as the default language?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-27 12:14 UTC] connect at btcentral dot org dot uk
Turned out to be a browser problem, and was fixed in a later version.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 04:05:45 2022 UTC