[jboss-user] [JBoss Seam] - JSF messages are localized, Seam messages are not.

dkane do-not-reply at jboss.com
Tue Jun 26 05:38:06 EDT 2007


Hello 

When I run booking example on Seam website, it shows "Welcome, username" (after successful login) always in English. 

At the same time, registration form shows "this field is required" messages localized to my language, other than English. 

I have build a simple web-application using Booking example as a template. I did not include messages.properties in package, and result is the same : localized "field is required" messages and not localized welcome message. 

Do I understand correctly, that JSF detects system language somehow and has internal bundles for many languages ? And, Seam is not ? 

There is no "Welcome, username" message in Java components , so I suspect it is something built-in , related to Seam authentication, identity, etc.

I don't need language selection functionality in my site, but just all messages localized to one language. What is the way to do that ? 

Thank you. 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057604#4057604

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057604



More information about the jboss-user mailing list