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

Translating style sheets (Re: The Russian translation of the "How to add style to XML")

From: Bert Bos <bert@w3.org>
Date: Thu, 30 Aug 2007 20:29:56 +0200
To: w3c-translators@w3.org
Message-Id: <200708302029.56399.bert@w3.org>

A hint for translators of CSS-related pages:

> On Tue, 28 Aug 2007 19:15:05 +0200, Alexey Beshenov <al@beshenov.ru> 

> > I can't just link to original files at
> > w3.org --- for example, there are a "Local links" generated text
> > which needs to be translated.

It's OK to copy the style sheets and translate the words "Local links" 
to your own language. But if you rather link to the style sheets on the 
W3C site, I can also add the translated words there. You'll need to 
tell me what the translation of "Local links" in your language is. And 
the translated HTML document must starts with something like

    <html lang="es">

("es" is for Spanish. Other languages need other codes.) Then the 
document will automatically display the text "Enlaces locales" instead 
of "Local links" and analogous for other languages.

Note for CSS experts: the actual rule I use is
div.map:lang(es):before {content: "Enlaces locales"}

  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 Thursday, 30 August 2007 18:30:01 UTC

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