i18n Translation
Hi
We are using Cocoon 2.1(Web publishing Framework)
We have some problem in getting the i18n content in pages.
If we hardcode the key value like for instance, <i18n:text>input-text</i18n:text> then the translated value is getting printed (for example âoutput-textâ),
For Example: input-text is âhomeâ corresponding value is âEspanaâ in message.xml [ <message key=âhomeâ>Espana</message>]
But if we try to get the key value from xsl variable, like
<i18n:text><xsl:value-of select=â$variableâ/></i18n:text> itâs not working although the $variable contains the value as âhomeâ. The output comes as âhomeâ.
But the expected result is âEspanaâ
Could you please help us to resolve this problem?
We will be very grateful to you if you could help us as soon as possible.
- Regards,
Jagadeeswaran.S
|