Hi Damien,

it's rather simple - struts does this for you.

The only thing you have to considere about is "how to change the 
language", because struts internationalization is based on a Locale
stored in the Session context (Attributename: Action.LOCALE_KEY).

And don't forget to set the locale=true parameter in your web.xml file. 

At first struts tries to detect the proper local from the Request data and 
set's it to the Session Attribute mentioned above if it is not already 
set.

hope it helps

Markus 
 

Besuchen Sie uns auf der CeBIT 2002, Hannover, 
vom 13.3.-20.3.2002 in Halle 18 EG, Stand A24/55!




Struts Newsgroup (@Basebeans.com) <struts
28.02.2002 14:40
Please respond to "Struts Users Mailing List"

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        internationalisation


Subject: internationalisation
From: "Damien Wavrant" <[EMAIL PROTECTED]>
 ===
how to internationalized an application using struts, like errors messages
per example ?
Is it possible to load dynamicaly a different
ApplicationRessource.properties (ApplicationRessource_FR.properties,
ApplicationRessources_US.properties) when user change the language ?

Thank



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



Reply via email to