On Dec 9, 6:06 pm, ericv <eric.vaut...@gmail.com> wrote:
> Was wondering if anyone had already taken a look at GWT
> internationalization in 2.0, and more specifically, if there were
> changes to the location of property files (which have to reside in the
> same folder as the referring class in GWT 1.7.1 for the generated i18n
> commands).
>
> More generally, is there a way to group i18n data files in a resource
> folder, to keep them away from the source code tree?

No changes in GWT 2.0 AFAIK, but you can put your properties file in
another folder if you want, provided you build the whole package
folder hierarchy their too; what matters is not the location on disk,
it's the classpath, so you can have (and it's been the case for a
loooooong time):
 - src
   - com
      - my
         - app
            - client
               MyMessages.java
 - resources
   - com
      - my
         - app
            - client
               MyMessages_fr.properties
               MyMessages_de.properties
               MyMessages_es.properties
               MyMessages_zh.properties
               MyMessages_jp.properties

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to