xslt multi language
I am trying to make my xslt for multiple languages, what i do is i load in a text using this :
<xsl:value-of select="$lang.home/translations/info[lang($language)]/title"/>
this grabs the 'title' from the page 'home' with the current language.
This works ok, accept that inside this text (wich is in multiple languages) I have a link to another page (the contact page). This link is built up in xml so that I can apply the same template for each link.
The xml for this link doesn't get transformed by xml, the tags just disapear.
Am I getting my internationalization wrong, or is there an other tag that I should use instead of value-of? I tried using copy-of instead wich give me the tags, but they are just placed in the output like they were in xml (no transformations done)
Any help is apreciated
|