Reported by Yves Savourel:
I have an XLIFF file with an entry like this:
<trans-unit id="7" resname="7">
<source xml:lang="EN-US">About <bpt id="1"><b></bpt>Gandalf<ept id="1"></b></ept></source>
<target xml:lang="FR-FR">About <bpt id="1"><b></bpt>Gandalf<ept id="1"></b></ept></target>
And in OmegaT it shows up like this:
I would expect it to be like this:
What do I do if "<b>Gandalf</b>" needs to be moved in front of "About" in the translation? How can I set the formatting properly if
I can't access the closing tag?
There’s an ambiguity, because <bpt> contains <b>, but the <b0/> seen is not related to <b>, but to <bpt>.
Currently, OmegaT knows enough about <bpt> to hide the content (that’s why there is <b0/>), but not to pair it with <ept>. Since <ept> is a stand alone “empty” tag, it is logically removed from the segment.
An improvement would be to have
For that <ept> has to be recognized as the end tag for <bpt>.