#44668 [Opn->Bgs]: Browser defaults site to "zh-Hans,zh-Hant" when accepted.

From: Date: Tue, 27 May 2008 12:14:14 +0000
Subject: #44668 [Opn->Bgs]: Browser defaults site to "zh-Hans,zh-Hant" when accepted.
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-1823@lists.php.net to get a copy of this message
ID: 44668 User updated by: connect at btcentral dot org dot uk Reported By: connect at btcentral dot org dot uk -Status: Open +Status: Bogus Bug Type: Website problem Operating System: Mac OS X, 10.5.2 PHP Version: Irrelevant New Comment: Turned out to be a browser problem, and was fixed in a later version. Previous Comments: ------------------------------------------------------------------------ [2008-04-08 07:20:33] connect at btcentral dot org dot uk Description: ------------ When using the Camino Browser, under Mac OS 10.5.2, and browsing the php.net functions ie. http://www.php.net/preg_match, 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 PHP.net 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? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44668&edit=1

« previous php.webmaster (#1823) next »