Google Cloud Translation translates text and detects its source language. Provide text and a target language for translation, or use language detection when the source language is unknown.
Use the block
Translate and detect languages using the Google Cloud Translation API. Supports auto-detection of the source language.
Actions
Google Translate
Translate text between languages using the Google Cloud Translation API. Supports auto-detection of the source language.
Input
Output
| Parameter | Type | Description |
|---|---|---|
translatedText | string | The translated text |
detectedSourceLanguage | string | The detected source language code (if source was not specified) |
Google Translate Detect Language
Detect the language of text using the Google Cloud Translation API.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Google Cloud API key with Cloud Translation API enabled |
text | string | Yes | The text to detect the language of |
