Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Info

text

string

The string to translate.

source

string

The source language to translate from. Must be valid rfc5646 code.

targetstringThe target language to translate to. Must be valid rfc5646 code.
langresTypestring

optional, one (or more, comma-seperated) language-resource types. e.g. "DeepL" or "DeepL,Google"

The types can be ('TermCollection', 'NEC-TM', 'OpenTM2', 'DeepL', 'SDLLanguageCloud', 'GroupShare', 'Google', 'Moses', 'Lucy LT', 'TildeMT')

langresIdint

optional, one (or more, comma-seperated) language-resource id's, e.g "12345" or "12345,23456"

nosegmentationintoptional, if set to "1" the string to translate will not be segmented (even if it contains punctuation). Please note, the result-layout with segmented & unsegmented texts is different
escapeintoptional, if set to "1" the returned texts and any markup  will be escaped

...