put

fun put(name: String, translation: List<Translation>)(source)

Adds a translation to the cache for a given name.

Parameters

name

The name of the translation.

translation

The list of Translation objects representing the translations of a message in different languages.