Hi,

I manage to build a multi-lang (Eng and Chinese) web app locally with
Spring MVC + ResourceBundle. The form works locally, but after I
upload my app, the <spring:message> tag always displays the value from
the properties file for English (message.properties instead of
message_zh_tw.properties for Chinese version).

JSP file

<form:form method="post" commandName="registrationForm">
                        <spring:message code="form.userId" />
...

I am using LocaleChangeInterceptor from Spring and I have checked in
my form controller, the locale has been changed when I surf the
Chinese version.

(Locale)
session.getAttribute(SessionLocaleResolver.LOCALE_SESSION_ATTRIBUTE_NAME); //
gives "zh" when I surf the Chinese version.

Is there any setting specific for GAE I have missed?

Thanks.

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to