Language selection logic is incorrect
Paul E. Jones
paulej at packetizer.com
Sun Mar 16 07:06:33 UTC 2008
Fedora Web Team,
When I visit fedoraproject.org with a browser set to advertise acceptance of
two languages, my preferred language (English) is not presented. Rather, my
less preferred language (Chinese) is presented by default.
I captured what was sent to the server and the HTTP request contains:
Accept-Language: en-US,zh-CN;q=0.5
So, English should be displayed first, since it has a higher "q" value and
is listed first. At least I would think ;-)
Cheers!
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-websites-list/attachments/20080316/2827437f/attachment.htm>
More information about the Fedora-websites-list
mailing list