You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by sat2_waran <ja...@satyam.com> on 2006/06/15 11:02:48 UTC

i18n Translation in cocoon

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

 

--
View this message in context: http://www.nabble.com/i18n-Translation-in-cocoon-t1791012.html#a4879504
Sent from the Cocoon - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org