[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: message-resources

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:

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 html lang=zh if I set to Chinese. But I do not see this : meta http-equiv=Content-Type content=text/html; charset=UTF-8 is this

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

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

2005-11-17 Thread Yujun Liang
html:html locale=false xhtml=true or html:html locale=true xhtml=true 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

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