13.10. Summary

We covered quite a lot in this chapter—a testament to the flexibility of GWT in addressing the internationalization (i18n) and localization (L10n) questions.

Out of the three techniques for i18n, we recommend the static approach as the one you should adopt. It provides the greatest guarantee that there will be no runtime errors while ensuring the smallest code download for the user.

If you can’t use the static approach, then the dynamic approach is the next preferable. You might defer implementing the static approach if you already have a large number of legacy translation files—in which case you can use the Dictionary class to access the data.

With GWT’s approach to L10n, you can make sure currency, numbers, dates, and times ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.