Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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