addKeys

fun addKeys(keys: Map<out String, String>): Translator

Add a map of keys to the translation table.

Since

0.17.5

See also


fun addKeys(vararg pairs: Pair<String, String>): Translator

Add a set of keys to the translation table. You can use the Kotlin map syntax here:

addKeys(
"my.key" to "hello there!",
"hello.world" to "This works well!",
)

Since

0.17.5

See also