Hi,

Iam working with i18n in Cocoon.And I have a file called 
simple.xml which displays a title in English and German.When I  
converted the simple.xml to a simple.jsp only the front page is 
displayed.But Iam not able to display it in English and 
German.Here are the files, simple.jsp, messages_en.xml and 
messages_de.xml:

simple.jsp
___________

<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:i18n="http://apache.org/cocoon/i18n/2.0";>
<title>
<i18n:text>titlemessage</i18n:text>
</title>
<menu>
<item>
<link>
<href>simple.jsp?locale=en_US</href>                            <title>English </title>
</link>
</item>
<item>
<link>
<href>simple.jsp?locale=de_DE</href>
<title>German </title>
</link>
</item>
<item>
<link>
<href>simple.jsp?locale=hi_IN</href>
<title>Hindi </title>
</link>
</item>
</menu>
</root>

messages_en.xml
_______________

<?xml version="1.0" encoding="UTF-8"?>
<!-- English message catalogue file for cocoon2 sample webapp 
-->
<catalogue xml:lang="en">
<message key="titletext">Goood Day!</message>
</catalogue>

messages_de.xml
_______________

<?xml version="1.0" encoding="UTF-8"?>
<!-- German message catalogue file for cocoon2 sample webapp -->
<catalogue xml:lang="de">
<message key="titletext">Guten Tag!</message>
</catalogue>

If someone knows please help me!

Kavitha.

_________________________________________________________
Click below  to experience Aishwarya Rai's beauty secrets. New 
International Lux Skincare - It's not just soap, It's skincare.
http://www.luxskincare.com


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to