Description:
This step translates text in real-time to other languages powered by Google.
Inputs
- textToTranslate - Enter text to translate
- selectFromLanguage - select the source language
- selectToLanguage - select the language to translate
- varGlobalToStoreValue - Variable / Global to store the translated text
Returns
- True – step executed successfully
- False – step failed to execute
Usage:
Example:
Let’s build and execute the googleTranslateDef example.
- Create a new definition called “googleTranslateDef”
- Select the definition and click the “design” button
- Drag a googleTranslate step from the toolbox
- Connect the dots between the start and googleTranslate step
- Click the “googleTranslate” step to configure its “Settings” properties. Provide a step name. Provide the text in non-English to translate. Select the language to translate from the drop-down list. Provide the variable/global reference to store the translated text during run-time. Click the Save button to confirm.

- Click the “googleTranslate” step to configure its “Advanced” properties. Select the source language of the text provided from the drop-down list. Click the Save button to confirm.

- Save the process definition, create a process instance, and execute. The Step should translate text in real-time to other languages powered by Google. Select the process instance to Render and verify the step properties.
