RE: struts 2 internationalization problem

2011-03-14 Thread Jose Luis Martinez Avial
, 2011 2:20 AM To: user@struts.apache.org Subject: Re: struts 2 internationalization problem Tried with a locale but still not working -- View this message in context: http://struts.1045723.n5.nabble.com/struts-2-internationalization-proble m-tp388p3555928.html Sent from the Struts - User

Re: struts 2 internationalization problem

2011-03-13 Thread sumitjain23
Tried with a locale but still not working -- View this message in context: http://struts.1045723.n5.nabble.com/struts-2-internationalization-problem-tp388p3555928.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: struts 2 internationalization problem

2011-03-13 Thread jlmagc
You need to put a Locale, not a String. --Mensaje original-- De: sumitjain23 Para: user@struts.apache.org Responder a: Struts Users Mailing List Asunto: RE: struts 2 internationalization problem Enviado: 14 Mar, 2011 02:11 If you look closely , I am doing the exact same thing i.e. setting

RE: struts 2 internationalization problem

2011-03-13 Thread sumitjain23
If you look closely , I am doing the exact same thing i.e. setting the session parameter "WW_TRANS_I18N_LOCALE" since I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE is equal to "WW_TRANS_I18N_LOCALE". But still it is not working -- View this message in context: http://struts.1045723.n5.nabble.com/st

RE: struts 2 internationalization problem

2011-03-13 Thread Jose Luis Martinez Avial
US; } sessionAttributes.put(I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE, locale); -Original Message- From: Jose Luis Martinez Avial Sent: Monday, March 14, 2011 12:47 AM To: 'Struts Users Mailing List' Subject: RE: struts 2 internationalization problem I usually do this Locale

RE: struts 2 internationalization problem

2011-03-13 Thread Jose Luis Martinez Avial
I usually do this Locale locale = new Locale(tokens[0],tokens[1]); } else { if(!queries.isLocaleSupported(locale.toString())){ log.debug("Locale "+locale+" no soportado. Lo sustituimos por US");