Skip to main content

Auto-Translation

Auto-translation lets an agent chat with a customer who writes in another language. The agent turns it on for a chat. From then on, the customer's messages are translated into the agent's language, and the agent's replies into the customer's language.

What the agent sees#

The agent turns translation on with the translate switch at the top of the chat. Translated messages show the original text, and below it the translation marked TRANSLATED.

Auto-translated messages in an online-help chat

  • The customer's language is detected from their messages.
  • The customer receives the agent's message in their own language.
  • The agent can turn translation off again with the same switch.

Translation providers#

diyalog-server sends the texts to the translation provider set in ai.translator.provider:

ProviderNotes
diyalog-translation-serverOptional component of the diyalog Helm chart. Runs offline inside your cluster, with no external calls. Translates between English, Turkish, German, French and Hindi.
Google TranslateCloud service. Message texts are sent to Google for translation.

Ask Diyalog for the provider value and settings that match your installation.

Protected terms#

The offline translation server keeps a list of terms that must not be translated or must always be translated the same way, such as product and brand names. Give Diyalog your list when the server is set up.

Enable it#

  1. Install a translation provider. For the offline server, enable diyalog-translation-server in the diyalog Helm chart and create its API key Secret.
  2. Set ai.translator.* in diyalog-server, with the same API key.

See Helm installation and Server configuration.