Translate function

<< Click to Display Table of Contents >>

Navigation:  TRANSLATION with DeepL API >

Translate function

 

DeepL API

Make sure you have a valid DeepL API license to use this feature.

 

A text to translate must be put in a preprocessed variable:

 

[@name=TRANSLATE,target_lang [,source_lang] (text to translate) ]

 

 

Notes:

If source_lang is omitted, DeepLDeepL_Logo will parse the text to determine the source language,

The assignment [@xxx=translate.....] can be placed after using it [=@xxx]

[=@xxx] can be inserted within a standard tag: <SPEAK=[=@xxx]>

 

Examples:

[@Hello=TRANSLATE,NL(Hello World!)]        [=@Hello] is replaced by "Hallo wereld!"

[@Hello=TRANSLATE,FR(Hello World!)]        [=@Hello] is replaced by "Bonjour le monde !"

[@Hello=TRANSLATE,DE(Hello World!)]        [=@Hello] is replaced by "Hallo Welt!"

[@Hello=TRANSLATE,DE,EN(Hello World!)]        [=@Hello] is replaced by "Hallo Welt!"

 

 

Target_lang: (note the differences with EN and PT)

BG - Bulgarian

CS - Czech

DA - Danish

DE - German

EL - Greek

EN-GB - English (British)        -or- GB

EN-US - English (American)        -or- US

ES - Spanish

ET - Estonian

FI - Finnish

FR - French

HU - Hungarian

ID - Indonesian

IT - Italian

JA - Japanese

LT - Lithuanian

LV - Latvian

NL - Dutch

PL - Polish

PT-BR - Portuguese (Brazilian)

PT-PT - Portuguese (all Portuguese varieties excluding Brazilian Portuguese)

RO - Romanian

RU - Russian

SK - Slovak

SL - Slovenian

SV - Swedish

TR - Turkish

UK - Ukrainian

ZH - Chinese (simplified)

 

Source_lang:

BG - Bulgarian

CS - Czech

DA - Danish

DE - German

EL - Greek

EN - English

ES - Spanish

ET - Estonian

FI - Finnish

FR - French

HU - Hungarian

ID - Indonesian

IT - Italian

JA - Japanese

LT - Lithuanian

LV - Latvian

NL - Dutch

PL - Polish

PT - Portuguese

RO - Romanian

RU - Russian

SK - Slovak

SL - Slovenian

SV - Swedish

TR - Turkish

UK - Ukrainian

ZH - Chinese (simplified)