tock / ai.tock.bot.engine / I18nTranslator / translate

translate

open fun translate(text: CharSequence?, vararg args: Any?): TranslatedSequence (source)
open fun translate(text: CharSequence?, args: List<Any?>): TranslatedSequence (source)

Translates and format if needed the text with the optionals args.

open fun translate(key: I18nLabelValue?): TranslatedSequence (source)

Translates the specified key.