Translate text
important
This activity pack is deprecated. Please download and use the latest version of the Microsoft Translator activity pack at https://marketplace.uipath.com/listings/microsoft-translator
UiPath.MicrosoftTranslatorText.Activities.TranslateText
Translates the provided text into the required language.
Properties
Common
- DisplayName - The display name of the activity.
Authentication
- SubscriptionKey - The subscription key to the Microsoft Text Translator service. The key needs to be acquired from Microsoft. For more information on how to set up the service please visit the official Microsoft documentation here.
Input
- From - The language from which the specified text will be translated. If not provided, the From language will be auto-detected. Languages need to be provided as BCP 47 language tags.
- To - The language to which the translation will be carried out. Languages need to be provided as BCP 47 language tags.
- Text - The text input for language translation. For a complete list of the supported languages please visit the official Microsoft Documentation here
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
- ProfanityAction - Selection that allows profanity processing. NoAction will keep it as it is. Deleted will remove the sections from the text. Market will replace the sections with a * character.
Output
- DetectedLanguage - If the From language was not specified, this field will contain the language detected by the cognitive service.
- TranslatedText - The result of the translation.