tock / ai.tock.bot.definition / BotDefinition / i18nTranslator

i18nTranslator

open fun i18nTranslator(userLocale: Locale, connectorType: ConnectorType, userInterfaceType: UserInterfaceType = connectorType.userInterfaceType, contextId: String? = null): I18nTranslator (source)

Returns an I18nTranslator for the specified userLocale and connectorType.