W3C home > Mailing lists > Public > site-comments@w3.org > August 2011

Re: Buggy language negotiation - w3.org/standards/webdesign/i18n

From: Richard Ishida <ishida@w3.org>
Date: Mon, 22 Aug 2011 10:29:17 +0100
Message-ID: <4E52216D.3030603@w3.org>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: site-comments@w3.org
 > But here is one I18N page which doesn't follow this advice, and thus
 > causing problems: http://www.w3.org/standards/webdesign/i18n

Leif,

Most of this email appears to be about 
http://www.w3.org/International/tools rather than 
http://www.w3.org/standards/webdesign/i18n

Are you experiencing problems with 
http://www.w3.org/standards/webdesign/i18n also?

I believe have now fixed the problem with 
http://www.w3.org/International/tools (missing .var file).  Leif please 
try again.

Ian,

The link on http://www.w3.org/standards/webdesign/i18n should point to 
.../tools rather than .../tools/. Could you change that please?

Thanks,
RI


On 21/08/2011 18:17, Leif Halvard Silli wrote:
> An I18N article specifies: [0]
>
> ]]   It is important to specify a default file, since a user who
> doesn't have either English [ … snip … ] would otherwise receive a HTTP
> 406 result (NOT ACCEPTABLE) rather than a file. [[
>
> But here is one I18N page which doesn't follow this advice, and thus
> causing problems: http://www.w3.org/standards/webdesign/i18n
>
> Do this, to replicate the bug:
>
> 0) Use non-English localization of Windows XP or Mac OS X (I tested
> Norwegian localization of Windows XP as well as several localizations
> of Mac OS X Snow Leopard.)
> 1) Open Safari (Windows or Mac) or Internet Explorer 8
> 2) Open the following URL: http://www.w3.org/i18n
>     (You then land on the following URL:
>     <http://www.w3.org/standards/webdesign/i18n>)
> 3) Locate and click on the link 'Tools' (which points to
>     http://www.w3.org/International/tools/)
>
> Expected result: To see the content of the Tools page.
> Actual result - Safari: '406 Not Acceptable' response with this message:
>     ]]
>        Available variants:
>        * [link:]tools.en.php ,
>                 type application/x-httpd-php,
>                 language en, charset utf-8
>     [[
>
> Actual result - Internet Explorer 8: Also a 406 HTTP error message (but
> with a message from IE stating that it cannot display the Web site
> format.)
>
> For Firefox I got the same, negative result as well, if I removed
> English from the list of Accept-Language: languages. (I'm not sure if
> Firefox, by default, include 'en'.)
>
> Other web browsers should show the same result if you remove English
> from the list of accepted languages.
>
> NOTE: Due to a bug [1] Webkit (with Chrome as exception) only shows a
> single language tag per Accept-Language: header.
>
>
> [0]
> http://www.w3.org/International/questions/qa-apache-lang-neg#defaults
> [1] https://bugs.webkit.org/show_bug.cgi?id=3510

-- 
Richard Ishida
Internationalization Activity Lead
W3C (World Wide Web Consortium)

http://www.w3.org/International/
http://rishida.net/


Register for the W3C MultilingualWeb Workshop!
Limerick, 21-22 September 2011
http://multilingualweb.eu/register
Received on Monday, 22 August 2011 09:29:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:34 GMT