#407 New template 'l10.language.name'

output: all formats
closed-fixed
XSL (399)
5
2008-04-11
2008-03-17
Simon Kennedy
No

Add an new template to common/l10n.xsl called l10.language.name as follows

<xsl:template name="l10.language.name">
<xsl:param name="lang">
<xsl:call-template name="l10n.language"/>
</xsl:param>

<xsl:value-of select="$l10n.xml/l:i18n/l:l10n[@language=$lang]/@english-language-name"/>
</xsl:template>

To extract the english language name.

Discussion

  • Logged In: YES
    user_id=118135
    Originator: NO

    Yep. I added some code to the manpages stylesheet for doing just this. I should have thought to just add it ot the common code. I will now.

     
    • assigned_to: nobody --> xmldoc
     
    • status: open --> open-fixed
     
  • Logged In: YES
    user_id=118135
    Originator: NO

    A change for this issue has been added to the current codebase.
    Please test the change with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
    • status: open-fixed --> pending-fixed
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-fixed --> closed-fixed