Skip to end of metadata
Go to start of metadata

Groovy leverages Java's I18N features. Here is a Swing example using Dates, Numbers and Locales:

Which should look something like this:

You can also use properties files to capture language strings. Using the LablesBundle.properties, LablesBundle.properties_de and LablesBundle_fr.properties files from this tutorial. We can then use this code:

To produce this result:

  • No labels