I18n

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.