W3C home > Mailing lists > Public > w3c-translators@w3.org > July to September 2008

Re: error?

From: Bert Bos <bert@w3.org>
Date: Sat, 05 Jul 2008 14:58:28 +0200
Message-ID: <486F6FF4.6050502@w3.org>
To: w3c-translators@w3.org

Alexey <mainpart@211.ru> wrote:

 > why when i'm trying to open normative version of doc, i'm redirecting
 > to
 > tranlation?
 > http://www.w3.org/Style/CSS-vs-XSL

I've disabled the language negotiation for that document. You should now 
get English.


More details:

For some documents on the W3C site the server performs "language 
negotiation," that means it doesn't just return the English document, 
but looks at the language of the user and tries to return a translation 
immediately if available.

Many browsers allow you to configure the language or languages that you 
prefer, but by default the browser sends the language of its own user 
interface. Clearly, Alexey's browser tells the W3C server that Russian 
is preferred over English.

Concretely, if the English original is called

     http://www.w3.org/foo.html

then the URL

     http://www.w3.org/foo

(without .html) is the negotiated document.

Negotiation is only enabled for certain stable documents, such as 
tutorials. For other documents the shorter URL simply returns the 
English version.

This of course requires that any translated document contains a link to 
the original *with* the .html. Otherwise you will be redirected right 
back to the translation when you try to see the original.

That is the case with the Russian translation of "CSS & XSL." It says 
the English original is at http://www.w3.org/Style/CSS-vs-XSL but that 
is the *negotiated* document, not the English one.

Or it was until this morning. I have disabled language negotiation for 
that document.

I've written the same explanation with different words in 
http://www.w3.org/Style/translating#langneg



Bert
-- 
   Bert Bos                                ( W 3 C ) http://www.w3.org/
   http://www.w3.org/people/bos                               W3C/ERCIM
   bert@w3.org                             2004 Rt des Lucioles / BP 93
   +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Saturday, 5 July 2008 12:59:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:27:42 UTC