wood burning stoves 2.0*
The moose likes JSF and the fly likes dynamic internationalization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "dynamic internationalization" Watch "dynamic internationalization" New topic
Author

dynamic internationalization

hal arres
Ranch Hand

Joined: Jan 10, 2003
Posts: 30
Hi all,

I want to build a jsf page where the i18n string comes from the database and the translation should be read in the jsf page.
I want to do it this way because I stored different attributes in the database and they should be translated in the jsf page to the according language.

But I am trying and trying without any success. Maybe someone of you can help me?

I configured the message ressource in the faces-config.xml:


And want to access it in the jsf page in a way like this:


The object category contains the part of message key which is in the message ressource file.

It would be very nice if someone of you could help me.

Greetings,
arres
Greg Bishop
Greenhorn

Joined: Apr 17, 2006
Posts: 5
You don't need 2 #'s the 1st # tells it it's a JSF variable, just remove the 2nd one.


Greg Bishop, Senior Software Engineer
CESI, 12000 Research Dr. Orlando Florida
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamic internationalization