GWT internationalization vs GWT Designer internationalization

24 views
Skip to first unread message

Karel

unread,
Oct 20, 2011, 11:28:47 AM10/20/11
to Google Web Toolkit
I was reading up on GWT localization, and I came upon this strange
thing. Apparently, GWT designer uses the standard java localization
package (com.i18n.*), as can be seen on
http://code.google.com/webtoolkit/tools/gwtdesigner/features/internationalization.html.
On the other hand, GWT itself, through the tutorial and the
documentation (see http://code.google.com/webtoolkit/doc/latest/tutorial/i18n.html),
suggests using their custom package (com.google.gwt.i18n.*)

This seems more than weird. On one side, I like the integration of the
designer with internationalization; it makes it a much less cumbersome
process. But on the other hand, this approach is never mentioned on
another page. Is there actually a reason why the custom GWT
internationalization package is better than the default java version?

And if there is an advantage, wouldn't it make more sense for GWT
Designer to use it as well?

Kind regards,
Karel

Eric Clayberg (Google)

unread,
Oct 20, 2011, 11:52:52 AM10/20/11
to google-we...@googlegroups.com
GWT Designer does not use standard Java localization; it uses the standard GWT localization. The correct link from the GWT Designer docs is...


The link you posted is actually part of the shared WB docs which refer to standard Java localization (used by Swing and SWT, but not GWT). The GWT Designer doc adds its own page on GWT specific localization (see the link above).
Reply all
Reply to author
Forward
0 new messages