[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
[STRUTS] internationalization  XML
Forum Index » J2EE Application Development
Author Message
Beyle

Newbie
[Avatar]

Joined: 01/17/2006 03:36:15
Messages: 6
Location: Belgium
Offline

Hi,

I finally am making progres with my first struts project.
Now I thought let's make it multi language, this can't be hard.
I found a lot (most the same) examples so what can go wrong
so my problem, it does not work.

I have made several MessageResources_EN.properties and MessageResources_nl_BE.properties files.
When starting up, the browser chooses the nl_BE file.
I have included in the stuts-config.xml file:
<message-resources parameter="messages.MessageResources_EN" />
<message-resources parameter="messages.MessageResources_nl_BE" />

Now when setting my browser to eng, is does not load the other properties file (I still see it in Dutch)

I also included all the needed .tld's for struts.
Finally I found some code to dynamically change the language.
Also this does not work.
What am I doing wrong??

Any help is appriciated.

Best regards,

Nico Beylemans

See my web blog: http://www.beyle.be/
[Email] [WWW] [MSN]
 
Forum Index » J2EE Application Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle