Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4203

DeepL: Switch tag-handling to be able to send tags as xliff tags

XMLWordPrintable

    • Critical
    • Switch deepl tag handler to xliff.

      Problem

      DeepL often places tags not at the right position. Due to former bad tag handling in DeepL (complete omission of tags or messing up of tag order) we currently send all tags as img-tags, even whitespace tags. This of course does not allow DeepL to understand more, what a tag is about and where to place it.

      Solution

      Deepl resource now by default uses our new tag handler xliff_paired_tags. Now xliff paired tags are send to deepl and in case of wrong tag structure, tag repair will try to correct the errors. In addition to that, tag handler can be configured for the resource. There are multiple available options to select and more info can be found here: https://confluence.translate5.net/x/AQBHIw

      By default now those api params are set:

      • tag_handling=xml
      • split_sentences=nonewlines

       

            aleksandar Aleksandar Mitrev
            marcmittag Marc Mittag [Administrator]
            Axel Becher, Leon Kiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: