The uppercase version of key="Edition" is used in this context:
<xsl:template match="edition" mode="titlepage.mode">
<xsl:apply-templates mode="titlepage.mode"/>
<xsl:call-template name="gentext.space"/>
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'Edition'"/>
</xsl:call-template>
</xsl:template>
If you customize that l:gentext to be lowercase, it should work.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
----- Original Message -----
From: "Jacques Foucry" <[EMAIL PROTECTED]>
To: "docbook-apps" <[email protected]>
Sent: Tuesday, July 24, 2007 7:43 AM
Subject: [docbook-apps] I don't understand how it works...
Hello,
I write my books in french. In the cover page I would like to have
the édition number (first -> première, second -> seconde, etc).
So in my book/info I've put
<edition os="linux2.4">Première</edition>
<edition os="linux2.6">Seconde</edition>
The result is, according of the os parameter :
Première Édition
or
Seconde Édition
The problem is the 'É' of édition which should be lower case ('é').
I try in my custom stylesheet something like that :
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
language="fr" english-language-name="French">
<l:gentext key="edition" text="édition"/>
</l:l10n>
</l:i18n>
<xsl:param/>
But it does not work.
I tried something more stupid, just to see : changing in common/
fr.xml file the second Édition into édition.
The result still the same... So I don't understand how it works and
where I can do the change.
Thanks in advance for your help,
Jacques
--
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]