Google Translate é o poderoso serviço de tradução do Google, com suporte a mais de 100 idiomas para texto, documentos e websites. Com tradução automática neural avançada, o Google Translate entrega traduções rápidas e precisas para uma ampla variedade de casos de uso.
Com a integração do Google Translate na Zoen, você pode:
- Traduzir texto: Converta texto entre mais de 100 idiomas usando o Google Cloud Translation
- Detectar idiomas: Identifique automaticamente o idioma de uma entrada de texto
Na Zoen, a integração com o Google Translate permite que seus agentes traduzam texto e detectem idiomas como parte de fluxos de trabalho automatizados. Isso habilita casos de uso como localização, suporte multilíngue, tradução de conteúdo e detecção de idioma em escala.
Usage Instructions
Translate and detect languages using the Google Cloud Translation API. Supports auto-detection of the source language.
Actions
google_translate_text
Translate text between languages using the Google Cloud Translation API. Supports auto-detection of the source language.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Google Cloud API key with Cloud Translation API enabled |
text | string | Yes | The text to translate |
target | string | Yes | Target language code (e.g., "es", "fr", "de", "ja") |
source | string | No | Source language code. If omitted, the API will auto-detect the source language. |
format | string | No | Format of the text: "text" for plain text, "html" for HTML content |
pricing | custom | No | No description |
rateLimit | string | No | No description |
Output
| Parameter | Type | Description |
|---|---|---|
translatedText | string | The translated text |
detectedSourceLanguage | string | The detected source language code (if source was not specified) |
google_translate_detect
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 |
pricing | custom | No | No description |
rateLimit | string | No | No description |
Output
| Parameter | Type | Description |
|---|---|---|
language | string | The detected language code (e.g., "en", "es", "fr") |
confidence | number | Confidence score of the detection |