translateDeepl

translateDeepl ( string text , string from , string to , boolean[default:false] _useFreeApi ) : string

Return a text translated with Deepl Translate

See also

setDeeplAccess

Parameters

text

To translate. It can be a HTML code.

from

nothing=Auto-detection
AR - Arabic
BG - Bulgarian
CS - Czech
DA - Danish
DE - German
EL - Greek
EN - English (all English variants)
ES - Spanish
ET - Estonian
FI - Finnish
FR - French
HU - Hungarian
ID - Indonesian
IT - Italian
JA - Japanese
KO - Korean
LT - Lithuanian
LV - Latvian
NB - Norwegian Bokmål
NL - Dutch
PL - Polish
PT - Portuguese (all Portuguese variants)
RO - Romanian
RU - Russian
SK - Slovak
SL - Slovenian
SV - Swedish
TR - Turkish
UK - Ukrainian
ZH - Chinese (all Chinese variants)
See Deepl documentation

to

AR - Arabic
BG - Bulgarian
CS - Czech
DA - Danish
DE - German
EL - Greek
EN - English (unspecified variant for backward compatibility; please select EN-GB or EN-US instead)
EN-GB - English (British)
EN-US - English (American)
ES - Spanish
ET - Estonian
FI - Finnish
FR - French
HU - Hungarian
ID - Indonesian
IT - Italian
JA - Japanese
KO - Korean
LT - Lithuanian
LV - Latvian
NB - Norwegian Bokmål
NL - Dutch
PL - Polish
PT - Portuguese (unspecified variant for backward compatibility; please select PT-BR or PT-PT instead)
PT-BR - Portuguese (Brazilian)
PT-PT - Portuguese (all Portuguese variants excluding Brazilian Portuguese)
RO - Romanian
RU - Russian
SK - Slovak
SL - Slovenian
SV - Swedish
TR - Turkish
UK - Ukrainian
ZH - Chinese (unspecified variant for backward compatibility; please select ZH-HANS or ZH-HANT instead)
ZH-HANS - Chinese (simplified)
ZH-HANT - Chinese (traditional)

_useFreeApi (optional)

Default false. Do you use the free api?