Skip to content

DeepLTranslate - DeepL

Version: Version 2.0

← DeepL Add-On Übersicht

Translates the text from the specified source language (source_lang) into the specified target language (target_lang) via DeepL.


Inputs

Das sind die Optionen, mit denen man den Step konfigurieren kann.

NameDatentypBeschreibungPflichtfeldWerte
accountACCOUNTNein
InputSpreadsheetSPREADSHEETA Spreadsheet containing the data to be translated.Ja
mappingdefinitionSTRINGThe mapping definition JSON StringJa
Folgende Felder sind zu konfigurieren:

FeldDatentypBeschreibungPflichtfeldStandardwert
idSINGLEA unique identifier of the record to be translated. Can be used to match the translation with the source text (e.g. datastore record).Ja
input_textSINGLEThe text to be translated.Ja
source_langSINGLEThe language into which the text should be translated. Leave empty to use the source_lang option of the Step Nein
target_langSINGLEThe language into which the text should be translated. Leave empty to use the target_lang option of the Step NeinEN
glossary_idSINGLESpecify the glossary to use for the translation. Important: This requires the source_lang parameter to be set. The language pair of the glossary has to match the language pair of the request.Nein
LimitSTRINGLimits the number of rows for the translation. Use small values for testing to save DeepL API-Calls.Nein
source_langSTRINGLanguage of the text to be translated. If this parameter is omitted, DeepL will attempt to detect the language of the text and translate it. The language can also be set via the 'source_lang' column in the input spreadsheet. In this case, the option is ignored. Nein
  • autodetect
  • English
  • Bulgarian
  • Czech
  • Danish
  • German
  • Greek
  • Spanish
  • Estonian
  • Finnish
  • French
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Lithuanian
  • Latvian
  • Dutch
  • Polish
  • Portuguese (Brazillian)
  • Portuguese
  • Romanian
  • Russian
  • Slovak
  • Slovenien
  • Swedish
  • Turkish
  • Ukranian
  • Chinese (simplified)
target_langSTRINGThe language into which the text should be translated. The language can also be set via the 'target_lang' column in the input spreadsheet. In this case, the option is ignored. Nein
  • English
  • Bulgarian
  • Czech
  • Danish
  • German
  • Greek
  • Spanish
  • Estonian
  • Finnish
  • French
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Lithuanian
  • Latvian
  • Dutch
  • Polish
  • Portuguese (Brazillian)
  • Portuguese
  • Romanian
  • Russian
  • Slovak
  • Slovenien
  • Swedish
  • Turkish
  • Ukranian
  • Chinese (simplified)
split_sentencesSTRINGSets whether DeepL should first split the input into sentences by interpunction. This is enabled by default. Default: yesNein
  • no
  • yes
preserve_formattingSTRINGSets whether DeepL should respect the original formatting, even it would usually correct some aspects. For example: Punctuation at the beginning and end of the sentence. Upper/lower case at the beginning of the sentence. Default: noNein
  • no
  • yes
tag_handlingSTRINGSets which kind of tags should be handled.Nein
  • no tag
  • xml
  • html
non_splitting_tagsSTRINGComma-separated list of XML tags which never split sentences.Nein
outline_detectionSTRINGDisable automatic detection of the XML structure. Use this option only in combination of splitting_tags. Default: yesNein
  • no
  • yes
splitting_tagsSTRINGComma-separated list of XML tags which always cause splits.Nein
ignore_tagsSTRINGComma-seperated list of XML tags that indicate text not to be translated.Nein
glossary_idSTRINGSpecify the glossary to use for the translation. Important: This requires the source_lang parameter to be set. The language pair of the glossary has to match the language pair of the request.Nein
model_typeSTRINGSpecifies which DeepL model should be used for translation.Nein
  • quality_optimized
  • prefer_quality_optimized
  • latency_optimized
style_idSTRINGSpecify the style rule list to use for the translation. Important: The target language has to match the language of the style rule list. All model_type values are supported. Example: "7ff9bfd6-cd85-4190-8503-d6215a321519"Nein

Outputs

Das sind die Ergebnisse des Steps, die von nachfolgenden Steps, nach der Ausführung verwendet werden können.

NameDatentypBeschreibungWerte
translatedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
input_textSINGLE
source_langSINGLE
target_langSINGLE
translation_detected_source_languageSINGLE
translation_textSINGLE
errorSINGLE
errormessageSINGLE
invalidItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
idSINGLE
input_textSINGLE
failedItemsSPREADSHEET
Folgende Felder sind im Output enthalten:

FeldDatentypBeschreibungStandardwert
identifierSINGLE
methodSINGLE
hostSINGLE
requestBodySINGLE
statusCodeSINGLE
statusMessageSINGLE
responseHeadersSINGLE
responseFilenameSINGLE
errorSINGLE
source_idSINGLE
source_input_textSINGLE
responseContentSINGLE
errorMessageSINGLE