Skip to main content
Skip table of contents

AI Email Translator

The page contains information on how to set up the Email Translator using the Azure AI Service and show how it works inside the Case Email Widget.


Configuring of AI Service

  1. On the top right, navigate to 

    cog
     → Application Studio → <<solution>>

  2. Navigate to Solution Preferences → Solution Variables from the left-hand navigation menu.
  3. Click the pencil button to edit an environment variable and configure these Solution Variables to be used for the AI Email Translator.

    Variable NameDescriptionExample
    AI_TRANSLATOR_ENABLED

    A number 1 means Enabled to use Email AI Translate Service in DCM.

    1
    AI_TRANSLATOR_ENDPOINTThe Endpoint (URL) of the AzureTranslator Service resource.
    https://api.cognitive.microsofttranslator.com
    AI_TRANSLATOR_KEYThe Access Key of the AzureTranslator Service resource.

    AI_TRANSLATOR_LOCATIONThe Location (region) of the AzureTranslator Service resource.westus

How to Use The Case Emails Widget

  1. On the top right, navigate to 
     → <<your solution>>
  2. On the left, navigate to 
     → Setup
  3. Under Forms and Pages menu, open the Detail Pages, and clone the DCM CASE DEFAULT page.

  4. Open the newly cloned detail page.
  5. Add the Case Emails widget tab if it is not present.
  6. Save the detail page.
  7. Under Case Setup, open the Case Type, and open the Case Type.
  8. Select the Custom Pages tab and select the detail page containing the Case Emails widget.
  9. To use the translation feature, select an Email and click the button Translate the Email to English.

  10. To show the email in its original language, click the button Show the Original Email.

  11. The translated version of the original email will be stored as email content with a suffix indicating the language. In our example, 1916_en.html.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.