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
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
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_
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
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