← Prev in month ← Prev in thread

gentext problem

From
"Rkopik Oavel"
Date
2008-11-13T10:50:47+00:00
ID
Thread
gentext problem
Hello,

I want to use
gentext for generating localized name strings for navigation tabs in our web
help. For now it applies only to index tab. 

In my stylesheet
I use this template call to generate approriate language string for index. 

<xsl:if
test="$generate.webhelp.index != 0">

 
<td>

   
<a href=""#"" rel="tab3" id="t3">

     
<img src=""images/iview.gif"/>

     
<xsl:call-template name="gentext">

       
<xsl:with-param name="key" select="'index'" />

     
</xsl:call-template>

   
</a>

 
</td>

</xsl:if>

 

Nevertheless I do not get string for index in Czech but
rather in English. I am wondering what I am doing wrong becase I use the same call
elsewhere in the stylesheet for breadcrumb navigation.

 

<xsl:when test="$current.node
= //d:index">

                       
<xsl:if test="not(//d:index/d:title)">

                           
<strong>

                                <xsl:call-template name="gentext">

                                    <xsl:with-param name="key" select="'index'"/>

                                </xsl:call-template>

                           
</strong>

                       
</xsl:if>

           </xsl:when>

 

 

Pavel ©kopík

← Prev in month ← Prev in thread