[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Changing values of language.xml
Hello Harald,
> In your have a customization layer, add into one of your XSL files:
>
> 1) ...the internationalization namespace as an attribute
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
> ...
> >
>
> 2) A parameter which points local.l10n.xml this very stylesheet
> <xsl:param name="local.l10n.xml" select="document('')" />
>
> 3) A l:i18n element containing just the *changes* (or additions):
> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
> <l:l10n language="de">
> <l:gentext key="Index" text="Index"/>
> <l:gentext key="index" text="Index"/>
> <l:gentext key="setindex" text="Index"/>
> <l:gentext key="SetIndex" text="Index"/>
> </l:l10n>
> </l:i18n>
This works fine! Thanks a lot for your help :-).
> l10.xml is included in common/l10n.xsl via a parameter as
> <xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
> If you change the value of the l10n.xml parameter in your layer to
> point to your copies, I don't see why your method shouldn't work
> as well...
It doesn't work. Reason? I don't know.
Kai
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]