Friday, March 7, 2014

Re: in GWT, can we manage Messages & Constants (i18n) at Server as we manage at Client?



On Friday, March 7, 2014 2:07:11 PM UTC+1, Tom wrote:
Hi Thomas, I am confused, 
why we need to recompile the whole project when we just change a simple text in properties file?

That's the difference between "static" and "dynamic" internationalization: http://www.gwtproject.org/doc/latest/DevGuideI18n.html
With static i18n, your constants/messages are compiled into the generated JS (with one permutation –JS file(s)– per supported locale)
By "whole project" here, I only mean the "GWT compilation" part (client side)

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