get Message
Retrieves a formatted localized message using a key.
Return
The formatted localized message content.
Parameters
The message key.
Retrieves a formatted localized message using a map of named arguments.
Return
The formatted localized message content.
Parameters
The message key.
A map of placeholders and their corresponding values.
Retrieves a formatted localized message using an intermediate data type.
The given intermediate object is transformed into a placeholder map, which is then used for message formatting.
Return
The formatted localized message content.
Parameters
The message key.
An object containing data relevant to the message.
A function to convert the intermediate object into a map of placeholders.
Deprecated
Use getMessage(key, Map) or getMessage(key, T, transform) instead
Replace with
getMessage(key, mapOf(...))Retrieves a formatted localized message using sequential arguments.
Return
The formatted localized message content.
Parameters
The message key.
Optional arguments used to format the message.