You can setup a locale in the session and Struts will use that for all
your texts. 

-----Original Message-----
From: franc...@rendezvouscentral.com
[mailto:franc...@rendezvouscentral.com] 
Sent: Tuesday, March 29, 2011 6:26 PM
To: user@struts.apache.org
Subject: getText

Hi Everybody
is there a way to use getText in an action and specify the locale (I
mean , I don't want struts to use the getLocale() from the browser) ?

something like that getText('my.ref',myLocale);

thx a lot

--
View this message in context:
http://struts.1045723.n5.nabble.com/getText-tp4270294p4270294.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


Internet communications are not secure and therefore Banco
Santander International does not accept legal responsibility for
the contents of this message. Any views or opinions presented
are solely those of the author and do not necessarily represent
those of Banco Santander International unless otherwise
specifically stated.

Las comunicaciones v'ia Internet no son seguras y, por lo tanto,
Banco Santander International no asume responsabilidad legal
ni de ning'un otro tipo por el contenido de este mensaje.
Cualquier opini'on transmitida pertenece 'unicamente al autor y
no necesariamente representa la opini'on de Banco Santander
International, a no ser que est'e expresamente detallado.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

  • getText franc...@rendezvouscentral.com

Reply via email to