GWT UIBinder i18n example

This has me tearing my hair out. It would be really great if someone
could upload a working project to demonstrate the UIBinder in
conjunction with Internationalization. The google docs are all over
the place and the various other posts I have read don't quite hit the
mark.

There is something I have done wrong which is preventing the
properties files from being generated when I add the -soyc argument to
the compiler.
frogwebAsked:
Who is Participating?
 
frogwebAuthor Commented:
OK - to answer my own question... Using the Mail application which comes with the GWT samples I added the following to the uiBinder tag in AboutDialog.ui.xml

  ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
  ui:generateFilename="mail_translate_source"
  ui:generateLocales="default">

and then in the body:
<ui:msg description="blurb">Blah Blah</ui:msg>

On compiling with the '-extra Mail' argument, I got my properties file.

Now I just need to see if I can make it work with mvp4g



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.