<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > DLT. - DeepL-Translate > DLT. - DeepL Translate |
MiniRobotLanguage (MRL)
DLT.Set Source Language Command
Set the source language for the DeepL Translator.
Intention
The DLT.Set Source Language command is used to set the source language for the DeepL Translator.
Normally this will not be necessary because DeepL will recognize the Source language automatically.
Language of the text to be translated. Options currently available:
➢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
➢KO - Korean
➢LT - Lithuanian
➢LV - Latvian
➢NB - Norwegian (Bokmål)
➢NL - Dutch
➢PL - Polish
➢PT - Portuguese (all Portuguese varieties mixed)
➢RO - Romanian
➢RU - Russian
➢SK - Slovak
➢SL - Slovenian
➢SV - Swedish
➢TR - Turkish
➢UK - Ukrainian
➢ZH - Chinese
If this parameter is omitted, the API will attempt to detect the language of the text and translate it.
Syntax
DLT.Set Source Language[|P1]
Parameter Explanation
P1 - (optional) The source language code. This should be a 2-character string representing the language code. If the length of P1 is more than 2 characters, it will be shortened to the first 2 characters. If P1 is less than 2 characters, it will be omitted.
Example
'***********************************
'
'***********************************
DLT.Set Source Language|de
Remarks
-
Limitations:
-
See also:
•