Translates the first defined message.
Translates the first defined message.
Uses java.text.MessageFormat
internally to format the message.
the message key
the message arguments
the formatted message or a default rendering if the key wasn’t defined
Translates a message.
Translates a message.
Uses java.text.MessageFormat
internally to format the message.
the message key
the message arguments
the formatted message or a default rendering if the key wasn’t defined
Check if a message key is defined.
Check if a message key is defined.
the message key
a boolean
Get all the defined messages
Get all the defined messages
Get the preferred messages for the given Java request
Get the preferred messages for the given Java request
Get the preferred messages for the given request
Get the preferred messages for the given request
Get the preferred messages for the given candidates.
Get the preferred messages for the given candidates.
Will select a language from the candidates, based on the languages available, and fallback to the default language if none of the candidates are available.
Set the language on the result
Set the language on the result
Translates a message.
Translates a message.
Uses java.text.MessageFormat
internally to format the message.
the message key
the message arguments
the formatted message, if this key was defined
The internationalisation API.