Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

The TranslateText action is used to translate the given content text from whatever language it is found in into the given target language. By default, the target language is pulled from the conversation, so by default anything translated will be translated into the local language of the user interacting with the bot.

The content-template is what is ultimately resolved and translated.

Options

language_id

This is the internal ID of the language that we should translate into. Prospera has a fixed list of supported languages and dialects that are largely defined by the underlying platforms we connect to.

By default, the language id to translate into is pulled from the conversation.

Output

text

The translated text

translation

The Translation object containing four fields:

source_text, source_language_code, target_text, and target_language_code

Properties

type

system

needs conversation

false

uses content template

true

uses options template

true

customizable output schema

false

  • No labels