Sunday, September 5, 2010

Internationalizing Gadget

i saw this post on
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f8298760062f925c/f0489f9a08c67e85?lnk=gst&q=Locale+and+gadget#f0489f9a08c67e85
where it say added support for gadget locale setting

and http://gwt-google-apis.googlecode.com/svn/javadoc/gadgets/1.2/index.html

in particular the method public abstract Gadget.GadgetLocale[] locales

how do i use that?

i want all the UI string on my gadget to changed according to a drop
down list where user can select the language

i try @ModulePrefs(title = "title",
author="NoBody",
author_email="NoBody@somewhere.com",
height=600,locales=what to put here?)

so how do i specify the locales?

and how do i do stuff mentioned in http://code.google.com/apis/gadgets/docs/i18n.html

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment