Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Lixin Chu
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

Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Yujun Liang
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,

Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Lixin Chu
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

Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Laurie Harper
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

Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Yujun Liang
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

Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Lixin Chu
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 ? ---

Re: [Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Laurie Harper
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

[Help] I18N does not work and I think I have tried all ....

2005-11-17 Thread Lixin Chu
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