I18N: Handle the label

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:import href="/sourceforge/docbook/xsl/html/docbook.xsl"/>
  <xsl:include href="tpage.xsl"/>

  <xsl:param name="local.l10n.xml" select="document('')"/>

  <l:i18n>
    <l:l10n language="en">
      <l:context name="title">
	<l:template name="contractnum"
		    text="This work was funded by Contract %n"/>
      </l:context>
    </l:l10n>
    <l:l10n language="de">
      <l:context name="title">
	<l:template name="contractnum"
		    text="Diese Arbeit wurde durch eine freundliche
Spende unter Vertrag %n unterstützt"/>
      </l:context>
    </l:l10n>
  </l:i18n>

  <xsl:template match="contractnum" mode="titlepage.mode">
    <div class="contract">
      <xsl:apply-templates select="." mode="object.title.markup"/>
    </div>
  </xsl:template>

  <xsl:template match="contractnum" mode="label.markup">
    <xsl:apply-templates/>
  </xsl:template>

</xsl:stylesheet>

A German book with our revised customization in HTML.