Hi folks,

I'm having a little trouble with XLIFF handling using some of the M4Loc
tools, specifically 'reinsert.pm' for replacing inline markup after
translation.(https://code.google.com/p/m4loc/wiki/Pod_reinsert)

It works fine for simple tags where the text between the tags *should* be
translated, e.g.

*src:* das ist ein <bx id="1">kleines haus</bx>
*tgt: *this is |0-1| a |2-2| small |3-3| house |4-4|

*output: *this is a <bx id="1"> small house </bx>

However, there are often examples of paired tags (kind of like markup
around markup) which are not handled, e.g.

das ist ein *<bpt id="1">&lt;b&gt;</bpt>*kleines haus*<ept
id="1">&lt;/b&gt;</ept>*

In this case, the <bpt> and <ept> tags are paired, and everything in
between both sets of tags should be stripped out, e.g. *&lt;b&gt; *but this
doesn't appear to be the case.

Is there another tool in the project that handles this kind of markup or is
it not supported?

Thanks
John

-- 
John Tinsley
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to