Definition and Usage
Translate text content into another language. This command uses language models to translate text from one language to another, allowing you to convert content between multiple supported languages.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
LLM model | Select the language model that best suits your scenario | - | Yes | Different models may have varying capabilities and costs |
Target language | Select which language to translate the text content into | English, Japanese, Korean, Spanish, Russian, French, German, Italian, Portuguese, Chinese | Yes | - |
Text content | Please provide the text content that needs to be translated | - | Yes | The source text to be translated |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a variable that stores the translated text.
Using Variables in Conditions
You can use variables in the "Text content" field by inserting previously defined variables using the {x} syntax. This allows you to dynamically translate content that was generated or captured earlier in your workflow.
Notes
Translation quality depends on the selected language model; more advanced models generally provide better translations.
Some languages may have better translation quality than others depending on the model's training data.
The translation process requires an internet connection and may use platform credits based on the length of the text being translated.
For longer texts, consider breaking the content into smaller segments for more accurate translations.