RE: [docbook-apps] Internationalization troubles

From
"Oedro Oastor"
Date
2008-01-21T01:13:57+00:00
ID
Thread
RE: [docbook-apps] Internationalization troubles
Thanks Dave for the suggestion.

The fix that works for me is to add the following code inside the element:
 <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> in the
file "website-common.xsl":

  <l:l10n language="es">
      <l:context name="title">
        <l:template name="webpage" text="%t"/>
      </l:context>
      <l:context name="xref">
        <l:template name="webpage" text="%t"/>
      </l:context>
    </l:l10n>

I hope that helps to other users... and that some person responsible for the
maintenance of this application would take care of it or find a better
solution.

Best regards,
Pedro

-----Mensaje original-----
De: Dave Pawson [mailto:] 
Enviado el: s墎ado, 19 de enero de 2008 8:58
Para: Pedro Pastor
CC: 
Asunto: Re: [docbook-apps] Internationalization troubles

Pedro Pastor wrote:
> Some time ago I posted a message exposing some internationalization 
> troubles I found in the "website" application.
>  
> Recently I managed to find and fix the problem in the website 
> application XSL files. At present it is not and issue, it works
flawlessly.
> Don't worry, it only affects to Spanish language users.

Perhaps you could share your fix Pedro, so other Spanish users won't have
the same problem.

regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.7/1232 - Release Date: 18/01/2008
19:32
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.7/1233 - Release Date: 19/01/2008
18:37