Skip to main content

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​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputName of the column to translate.string, integer, array—Yes
outputName of the output column.string, array—Yes
Options
target_languageCode of the language to translate to.string; one of:
  • Bulgarian
  • Chinese
  • Czech
  • Danish
  • Dutch
  • English (American)
  • English (British)
  • Estonian
  • Finnish
  • French
  • German
  • Greek
  • Hungarian
  • Italian
  • Japanese
  • Latvian
  • Lithuanian
  • Polish
  • Portuguese
  • Portuguese (Brazilian)
  • Romanian
  • Russian
  • Slovak
  • Slovenian
  • Spanish
  • Swedish
—Yes
source_languageCode of the language to translate from. If omitted, automatically detects the input language.string; one of:
  • Auto
  • Bulgarian
  • Chinese
  • Czech
  • Danish
  • Dutch
  • English
  • Estonian
  • Finnish
  • French
  • German
  • Greek
  • Hungarian
  • Italian
  • Japanese
  • Latvian
  • Lithuanian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Slovak
  • Slovenian
  • Spanish
  • Swedish
"AUTO"No
caseAllow changing the case of the input prior to translation.string, nullnullNo
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues 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
RequirementValue
AI-poweredNo
Requires WrangleWorks accountYes
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID96
Catalog keytranslate
Recipe keytranslate
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
NamespaceRoot-level
Documentation groupformat
AliasesNone
Runtime symbolwrangles.recipe_wrangles.main.translate
Legacy UUID73c3ceb6-ffd8-4d74-8389-c83b99d33bb0

Sources