On your constants interface add this @Generate(format =
"com.google.gwt.i18n.rebind.format.PropertiesFormat")
then compile your gwt code with -extra extras
@Generate(format =
"com.google.gwt.i18n.rebind.format.PropertiesFormat")
public interface ExampleConstants extends ConstantsWithLookup {
@DefaultStringValue("New")
String newButton();
}
That should generate a properties file with
newButton = New
On Apr 14, 4:41 am, "vlad.balan" <[email protected]> wrote:
> Hello,
>
> with GWT's i18nCreator and i18nSync classes you can create a
> corresponding Constants subinterface for your existsing properties
> file.
> How can you achive the reverse?
> A revers operation would use your Constans interface (containing
> information like @Generate(String[] formatFQCN, String filename,
> String[] locales)) to create GWT-style properties files for your
> listed constants declarations.
>
> But i18nSync does not do it. Is there another tool?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.