# I18n

**URL:** <https://www.ruby-forum.com/t/i18n/95777>\
**Category:** Rails I18n\
**Created:** [June 13, 2006, 12:29pm UTC](https://www.ruby-forum.com/t/i18n/95777 "2006-06-13T12:29:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![satthish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/df788c/32.png) [@satthish](https://www.ruby-forum.com/u/satthish)\
**Post date:** [June 13, 2006, 12:29pm UTC](https://www.ruby-forum.com/t/i18n/95777/1 "2006-06-13T12:29:11Z")

</div>

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:texthome\</i18n:text\> then the translated value is getting  
printed, But if we give the key from xsl variable,

i18n:text\<xsl:value-of select=â?$homeâ?/\>\</i18n:text\> itâ??s not coming.

What can be done to get i18n?

Please give suggestion so that we can move ahead.
