Allow XLIFF <sub> tag to be represented as a subflow TextUnit

Merged
#450 · Created  · Last updated

Merged pull request

Merged in subAsTu (pull request #450)

18d213c·Author: ·Closed by: ·2020-10-20

Description

As a followup or potential resolution of https://bitbucket.org/okapiframework/okapi/issues/966

Add an option to the XLIFFFilter which allows it to encode <sub> tags as seperate Okapi TextUnits. This makes it so that they can be treated “externally” and are translated independently. This should be in line with how sub flows are handled in the HTML filter.

At first I was hesitant about making <sub> a TextUnit because the Okapi Object model is rather close to the XLIFF Object model and this is a major deviation but overall I feel like the handling of <sub> feels more natural this way.

What do you think?

0 attachments

0 comments

Loading commits...