Language Translation
Last updated
Last updated
We recognise that different people may want to interact with your bot in different languages and because of that we offer both static and dynamic language translation that can be triggered at any point in the conversation.
As you can see from this example, here we are getting responses in English first, but then after typing "I need help" in Welsh we then start to get responses from the bot in that language.
The first option for this is around providing static translations
for the bots responses. These are provided inside IntelAgent and you'd provide an alternate response for every bot response or training phrase.
The alternative is to use dynamic translations that will detect the language used in the users utterance and then translate any responses from the bot before replying back to the user. You can further restrict this to a specific subset of languages if you want to be cautious around how the bot responds.
By default the language will be English however if you wish you can change the language for the widget and the bot using a parameter.
In the example above we can use the optional lang
to determine what we pass into the widget as options. Alternatively the language
parameter passed to the settings will be set to en
.
The language codes that you can use can be found on the .