Three resource bundle files are used:
messages_en.properties for English,
messages_fr.properties for French,
- and
messages.properties, the default used if no other file is found.
The following files contain key-value pairs representing text for the web pages in different languages, for example:
messages_en.properties with application.name=hello
world
messages_fr.properties with application.name=bonjour
monde
messages.properties with application.name=hello world