Hi,
It doesn't seem to be caused by an incomplete translation, as the text in
common/fr.xml in 1.73.2 has the translated text. When I test an xref with
<book lang="fr">, I get the translated text for the xref. A more detailed
example would help.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net----- Original Message -----
From: "Daniel Leidert" <
daniel.leidert.spam@gmx.net>
To: <
docbook-apps@lists.oasis-open.org>
Sent: Wednesday, August 19, 2009 9:19 AM
Subject: Re: [docbook-apps] localization problem with xref elements
Am Mittwoch, den 19.08.2009, 17:40 +0200 schrieb Oliver Christen:
> the version of docbook xml is 4.4
> the version of docbook xsl is 1.73.2
> (these are not my choice and I dont think I can upgrade as I dont have
> decisional power for that)
>
> im having some problem with french translation,
> a string which is automatically inserted by the xsl transformation is
> not translated.
>
> the problem is with <xref linkend="xxx" />
> I get "the section called “xxx”" instead of the "la section intitulée
> « xxx »"
>
> the string "the section called" appear several time in the language
> xml files in docbook-xsl-1.73.2 so im not sure which one is used, but
> the translation seems to exist for all the ids in the fr.xml
>
> I have tried adding a "lang="fr"" parameter in my <book> element and
> also in my <xref> element, but it didnt change anything
>
> I looked at the list archive, found some related posts but sadly no
> solution
Can you provide a minimal testcase to reproduce (including your
customization layer)? Then we could also take a look, if you do things
right :)
> any idea ?
If it's caused by an outdated or incomplete French translation, then you
can simply "fix" the problem in your customization layer.
http://www.sagehill.net/docbookxsl/CustomGentext.htmlRegards, Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.orgFor additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org