get

fun get(languageCode: String, messageKey: String, placeholders: Map<String, Any?> = emptyMap()): Translation?(source)

Retrieves the translation for the given language code and message key.

Return

The translation matching the language code and message key, or null if not found.

Parameters

languageCode

The language code of the translation as dash-combined ISO-639 (language) and ISO-3166 (country).

messageKey

The key identifying the message.

placeholders

The placeholders to be replaced in the message.