The framework provides a common Locale object in the users session, which you can maintain and then pass as part of something like a database query.
http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/action/Action.html#LOCALE_KEY -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services "Juan Alvarado (Struts List)" wrote: > > How would you internationalize lets say product information that would be > generated from a database query??? > > Is there a standard way of doing this withing struts?? > > ********************************************** > Juan Alvarado > Internet Developer -- Manduca Management > (786)552-0504 > [EMAIL PROTECTED] > AOL Instant Messenger: [EMAIL PROTECTED] > > -----Original Message----- > From: Rob Breeds [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 8:56 AM > To: Struts Users Mailing List > Subject: Re: internationalisation > > Struts supports this very well. You just add the resource properties files > you need and Struts uses the correct one according to browser language > setting. > > Errors and messages use keys to lookup values in the resource properties. > > Rob > > Struts > Newsgroup To: > [EMAIL PROTECTED] > (@Basebeans.co cc: > m) <struts Subject: internationalisation > > 28/02/2002 > 13:40 > Please respond > to "Struts > Users Mailing > List" > > 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]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

