Re: [appfuse-user] struts2 switch locale

2007-04-10 Thread ros
Matt, yes, I had public static final String PREFERRED_LOCALE_KEY = I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE; but this weekend during upgrade to AppFuse 2 M 4 I've changed locale key value back to: public static final String PREFERRED_LOCALE_KEY = "org.apache.struts2.action.LOCALE"; and f

Re: [appfuse-user] struts2 switch locale

2007-04-09 Thread Matt Raible
With 2.0 M4, if I log into http://demo.appfuse.org/appfuse-struts and append "?locale=it" to the mainMenu.html URL - everything seems to work fine. If I edit my profile, the buttons have the proper Italian translation (at least AFAICT). Can you reproduce your issue on the demo site? Thanks, Ma

Re: [appfuse-user] struts2 switch locale

2007-03-30 Thread ros
My app is Appfuse 2.0-m3+Struts based and this jsp code shows English text when current locale is ru. I set current locale with request parameter locale=ru. My PREFERRED_LOCALE_KEY constant is "org.apache.struts2.action.LOCALE". But I18nInterceptor uses WW_TRANS_I18N_LOCALE and expects request_

Re: [appfuse-user] struts2 switch locale

2007-03-30 Thread Matt Raible
Can you provide a better description of how to reproduce this problem? Thanks, Matt On 3/30/07, ros <[EMAIL PROTECTED]> wrote: Hi! I have a strange effect with struts2+appfuse2 - all struts tags are in system default locale after locale=ru parameter passed. (fmt tags are ok) It look like I

[appfuse-user] struts2 switch locale

2007-03-30 Thread ros
Hi! I have a strange effect with struts2+appfuse2 - all struts tags are in system default locale after locale=ru parameter passed. (fmt tags are ok) It look like I18nInterceptor is not compatible with current implementation of appfuse LocaleFilter. Quick solution is to redefine interceptor in