1. I use this to set the locale:
request.getSession().setAttribute(Globals.LOCALE_KEY, Lcoale.JAPANESE);
2. yes, properties file has some.
3. the whole page is in english
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
or doesn't matter.
Only button.add in English or everything is in English for the page?
1. How do you construct the . in the following statement?
session.setAttribute("org.apache.struts.action.LOCALE", .)
2. Do you have
button.add=加えなさい
in your *_ja.properties?
Regards
On 11/18/05,
that's right, they are the same.
now I follow Laurie's suggestion and found that request.getLocale()
always return 'en' - regardless locale='true' or 'false' setting.
how does this happen ?
-
To unsubscribe, e-mail: [EMAIL PROTE
Globals.LOCALE_KEY is a String constant with the value
"org.apache.struts.Globals.LOCALE_KEY" so yes, the hashcode would be the
same in either case. That's not it...
L.
Yujun Liang wrote:
> 1.
> request.getSession().setAttribute(Globals.LOCALE_KEY, locale);
>
> I use org.apache.struts.Globals.LO
1.
request.getSession().setAttribute(Globals.LOCALE_KEY, locale);
I use org.apache.struts.Globals.LOCALE_KEY and it works,
is the hashcode of org.apache.struts.action.LOCALE same as
I use org.apache.struts.Globals.LOCALE_KEY?
2. Do you have
button.add=加えなさい
in your *_ja.properties?
Regards
On
I set to ja in the session;
I removed locale="true" from JSP but the result is the same.
Browser encoding is set to UTF-8.
When I 'view source' in the browser, I saw if I set
to Chinese. But I do not see this :
is this ok ?
---
Lixin Chu wrote:
Hi All,
appreciate any help here ...This is what I have done in trying to
show strings in the selected language:
- I have various /WEB-INF/classes/ApplicationResources.properties
files, for example APplicationResoruces_ja.properties
- in struts-config.xml, I have:
- in w
Hi All,
appreciate any help here ...This is what I have done in trying to
show strings in the selected language:
- I have various /WEB-INF/classes/ApplicationResources.properties
files, for example APplicationResoruces_ja.properties
- in struts-config.xml, I have:
- in web.xml I have a filt
8 matches
Mail list logo