auto_translate_text
Translate a single text instantly without saving it. Provide source text, target language, and translation provider to preview translations or translate ad-hoc content.
Instructions
This tool will auto-translate a single piece of text synchronously without saving it to your project.
Provide 'sourceText', 'targetLanguage' (provider language key, e.g. en_US), and 'translationProvider' (GOOGLE_TRANSLATE, DEEPL, or OPEN_AI).
Optionally provide 'sourceLanguage', 'sourceProjectLanguage', 'targetProjectLanguage', 'deeplFormality', and 'description' (context to improve quality).
Use this to preview a translation or translate ad-hoc text. Use create_auto_translation_jobs to auto-translate and save translations in the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceText | Yes | Source text to translate. | |
| description | No | Additional context to improve translation quality (optional). | |
| deeplFormality | No | DeepL formality setting (optional). | |
| sourceLanguage | No | Provider source language key (optional). Auto-detected if not provided. | |
| targetLanguage | Yes | Provider target language key (e.g. en_US). | |
| translationProvider | Yes | Auto-translation provider to use. | |
| sourceProjectLanguage | No | Project source language key (optional), used to load provider-specific configuration (e.g. DeepL glossary). | |
| targetProjectLanguage | No | Project target language key (optional), used to load provider-specific configuration (e.g. DeepL glossary). |