Building GWT application with different locales
Please help... It is the first time I am deploying an internationalized GWT application. I have 3 locale properties files within a 'shared' source folder:
- com.blabla.shared
- StringConstants.java
- StringConstants.properties
- StringConstants_fr.properties
- StringConstants_es.properties
When running in development mode, I have no problem changing locale, using the '&locale=fr' syntax. However, once I build using Ant and deploy on Tomcat, I get a 404 error when trying to do the same.
I have the following in the gwt.xml file:
<inherits name="com.google.gwt.i18n.I18N"/>
<source path="client" />
<source path="shared" />
<extend-property name="locale" values="fr"/>
<extend-property name="locale" values="es"/>
However, it seems like the properties file are not being included correctly in the war file.
Thanks in advance,
Dawn
--You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home