Translate
Translate the input to a different language. Requires WrangleWorks Account and DeepL API Key (A free account for up to 500,000 characters per month is available).
Translate the input column to another language. Powered by DeepL.
Parameters
| Name | Description | Accepted Values | Default | Required |
|---|---|---|---|---|
| I/O | ||||
input | Name of the column to translate. | string, integer, array | — | Yes |
output | Name of the output column. | string, array | — | Yes |
| Options | ||||
target_language | Code of the language to translate to. | string; one of:
| — | Yes |
source_language | Code of the language to translate from. If omitted, automatically detects the input language. | string; one of:
| "AUTO" | No |
case | Allow changing the case of the input prior to translation. | string, null | null | No |
| Conditions | ||||
if | Condition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}. | string | — | No |
where | Filter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'. | string | — | No |
where_params | Values used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name. | array, object | — | No |
Examples
wrangles:
- translate:
input: Español
output: English
source_language: Spanish
target_language: English (British)
| Español |
|---|
| ¡Hola Mundo! |
| English |
|---|
| Hello World! |
Access
| Requirement | Value |
|---|---|
| AI-powered | No |
| Requires WrangleWorks account | Yes |
| Requires subscription | No |
| Requires external API key | No |
Technical details
| Field | Value |
|---|---|
| Catalog ID | 96 |
| Catalog key | translate |
| Recipe key | translate |
| Catalog status | active |
| Lifecycle status | active |
| Recipe Writer eligible | Yes |
| Namespace | Root-level |
| Documentation group | format |
| Aliases | None |
| Runtime symbol | wrangles.recipe_wrangles.main.translate |
| Legacy UUID | 73c3ceb6-ffd8-4d74-8389-c83b99d33bb0 |
Sources