Subscribe

UiPath Marketplace

UiPath Marketplace Guide

Translate

UiPath.MicrosoftTranslator.Activities.TranslateActivity

The Translate activity uses the Microsoft Translator API to translate the provided text into the required language.

How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Microsoft Translator Scope activity to your project.
  3. Add the Translate activity inside the Microsoft Translator Scope activity.
  4. Create and enter a String or a String variables for the Intput properties.
  5. Create and enter a String variable for the Output property.

Properties

Common

  • DisplayName - The display name of the activity. This field supports only Strings or String variables.

Input

  • From - The language of the input text. This field supports only Strings or String variables. If not provided, the From language will be auto-detected. Languages need to be provided as BCP 47 language tags.
  • Text - The text to be translated. This field supports only Strings or String variables. For a complete list of the supported languages, please visit the official Microsoft Documentation.
  • To - The language of the output text. This field supports only Strings or String variables. If not provided, the From language will be auto-detected. Languages need to be provided as BCP 47 language tags.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Options

  • Profanity Action - Specifies how profanities should be treated in translations. Select one of the three options available: NoAction, Deleted, Market.
    • Deleted removes the sections from the text.
    • Market replaces the sections with a * character.
  • Profanity Marker - Specifies how profanities should be treated in translations. Select one of the three options available: Asterisk, Tag.

Output

  • Translation - The result of the translation. This field supports only String variables.

Updated 3 months ago


Translate


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.