MESSAGE [MessageTool]

Enables internationalization of templates, providing functions for localizing strings.

get(String bundle, String key[, String arg0[, String arg1[, String arg2]]])

Returns the message.

bundle
Resource bundle.
key
Message key.
arg0
Message argument.
arg1
Message argument.
arg2
Message argument.

Returns: Message.

getFieldLabel(String bundle, String key, boolean required)

Returns the message with the appropriate label modifier (':' and possibly an asterisk if field is required).

bundle
The bundle where the message lives.
key
The key where the message is stored.
required
If the field is required.

Returns: The message with appropriate label modifiers.