Re: Question about i18n and Stylesheets



On Tue, 2004-02-24 at 05:40, Aaron Weber wrote:
> Say I have two documents, C/mydoc.xml and de/mydoc.xml
> 
> When I process C/mydoc.xml, the xrefs within it are transformed from
> reading:
> <xref linkend="blah" />  to "the section "Blah" in Chapter 2"
> 
> What do I do to process de/mydoc.xml so that my localized document
> uses the right localized words --- I know "Blah" is taken care of, but
> what about "section" and "chapter"?

As Alexander mentioned, it should happen automatically. 

My reason for replying is to mention that if you want to delve into the
process a bit further, the Norm Walsh stylesheets for Docbook keep the
translated content in xsl-stylesheets/common/XX.xml (where XX = language
code). Then you can poke around the *.xsl files to see where these
things are referenced.

Malcolm




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]