Wrox Programmer Forums
BOOK: Expert One-on-One J2EE Design and Development
This is the forum to discuss the Wrox book Expert One-on-One J2EE Design and Development by Rod Johnson; ISBN: 9780764543852
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One J2EE Design and Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 13th, 2006, 08:18 AM
Registered User
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default i18n Translation


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,


Similar Threads
Thread Thread Starter Forum Replies Last Post
java to C# translation vinny4545 Servlets 3 September 4th, 2015 12:37 PM
i18n problem in xsl jagadeesh XSLT 1 June 15th, 2006 02:24 AM
java to C# translation vinny4545 ASP.NET 1.0 and 1.1 Professional 0 July 2nd, 2004 07:19 PM
i18n (Locale) support in HttpRequestDataBinder shoening BOOK: Expert One-on-One J2EE Design and Development 1 April 8th, 2004 01:21 PM
Code translation gbaker BOOK: Beginning Java 2 3 December 3rd, 2003 11:08 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.