struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: internationalisation
Date Thu, 28 Feb 2002 14:23:43 GMT
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 

hope it helps


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

Struts Newsgroup ( <struts
28.02.2002 14:40
Please respond to "Struts Users Mailing List"

        Subject:        internationalisation

Subject: internationalisation
From: "Damien Wavrant" <>
how to internationalized an application using struts, like errors messages
per example ?
Is it possible to load dynamicaly a different (, when user change the language ?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message