On Tue, Aug 18, 2009 at 6:04 AM, Thomas Broyer <[email protected]> wrote:
> On 18 août, 06:38, Dobes <[email protected]> wrote: > > What tools are people using for localization? > > > > For example, currently I've defined all my strings using @DefaultValue > > (...) for my Constants interface instead of a properties file - is > > there a tool out there to convert an interface into a properties file, > > Add a @Generate(format = > "com.google.gwt.i18n.rebind.format.PropertiesFormat") attribute to > your Messages or Constants interface and then just compile your > project (if using GWT 1.6 or higher, pass the -extra argument with the > target directory as the value) and it'll generate the properties file > from the interface (if using GWT 1.5, in the www/<module>-aux > directory). > Ah, that is very cool - thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
