, 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
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.
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
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
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
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");
6 matches
Mail list logo