Translate text to selected language

Last published at: July 27th, 2024

Description:

Translate the text to selected language using Azure ML.  

Inputs

  • textToTranslate – Text to translate
  • selectFromLanguage – Select source language
  • selectToLanguage – Select target language
  • varGlobalToStoreValue – Variable or global to hold the result

Returns

  • True – step executed successfully
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the clsazuremllanguagetranslatorDef  example. 

  • Create a new process definition
  • Drag a get "clsAzureMLLanguageTranslator" step from the toolbox
  • Configure the step using the following properties:
  • Azure ML settings can be configured in status page -> Configuration -> Azure ML 

  • Save the process definition. Create a new process instance and execute. The step should translate the text to selected language and store the result in variable.result as configured.