Requests that a translation source file be generated from the annotated
interface. The file type is determined by the format argument, and the
file name by the optional fileName argument. Some file formats support
aggregating messages from multiple interfaces into one file, while others
do not; also, additional parameters may be specified via format-specific
annotations -- see the documentation of the MessageCatalogFormat implementation
for details.
Examples:
- @Generate(format = "com.google.gwt.i18n.server.PropertyCatalogFactory")
generates properties files for all locales, and the names will be
of the form MyMessages_locale.properties
- @Generate(format = {"com.example.ProprietaryFormat1",
"com.example.ProprietaryFormat2"},
fileName = "myapp_translate_source", locales = {"default"})
generates default files in two proprietary formats, with filenames like
myapp_translate_source.p1 and myapp_translate_source.p2