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
Returns the language associated with the messages.
Returns the language associated with the messages.
the selected language.
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
Every Messages is also a MessagesProvider.
Every Messages is also a MessagesProvider.
the messages itself.
A messages returns string messages using a chosen language.
This is commonly backed by a MessagesImpl case class, but does extend Product and does not expose MessagesApi as part of its interface.