Tuesday, June 16, 2015

I18N- sharing Constants

In my app, I have created an interface 
CommonLabels extends Constants
As name suggests, it contains all the labels that can be user on any page. There are some pages that use this interface directly.
I have created other interfaces (eg LoginLabels) for each page that extend this interface adding their own labels.

I now want to internationalize my app and created *_fr.properties file for each interface. I then found out that GWT does not create CommonLabels_fr.java but does create LoginLabels_fr.java. How do I make it work so that GWT generates a CommonLabels_fr.java, and LoginLabels.java such that LoginLabels_fr extends CommonLabels_fr

Thanks,
Tushar

--
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment