retrieve i18n application messages.

2010-03-24 Thread Stephen Ince
Does anyone know how to programmatically retrieve the i18n messages outside the context of an action class. I know with the action you can call getText. I need similiar functionality. I have access to the http request headers. I assume I need the accept language request header. e.g. String

Re: retrieve i18n application messages.

2010-03-24 Thread stanlick
S2 doesn't do anything special. It leverages the native Java resource bundles and locale. I would advise you to begin by looking at the Locale class. On Wed, Mar 24, 2010 at 4:01 AM, Stephen Ince stephenpi...@gmail.comwrote: Does anyone know how to programmatically retrieve the i18n messages

Re: retrieve i18n application messages.

2010-03-24 Thread Stephen Ince
@struts.apache.org Sent: Wednesday, March 24, 2010 7:12 AM Subject: Re: retrieve i18n application messages. S2 doesn't do anything special. It leverages the native Java resource bundles and locale. I would advise you to begin by looking at the Locale class. On Wed, Mar 24, 2010 at 4:01 AM, Stephen