XLIFF Splitter Step: allow splitting on user-defined tags

Issue #196 new
Former user created an issue

Original issue 196 created by lixo... on 2011-11-22T15:18:03.000Z:

Problem:

I've been trying to use the XLIFF Splitter step (in a docx previously converted
converted to XLIFF format in the context of a Translation Kit Creation step;
that is, I used OKAPI tools to convert the docx file to a XLIFF file). The
problem is that the assumed splitting tag (<file>) appears already in other
parts of the original XLIFF file. Therefore, if I add 5 new <file> tags to the
starting XLIFF file I get 16 parts and not just 5, as I had wished. This is
because the original XLIFF file already included several <file> tags of its own,
like the following ones:

<?xml version="1.0" encoding="UTF-8"?>  
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"  
xmlns:okp="okapi-framework:xliff-extensions">  
<file original="[Content\_Types].xml" source-language="en-gb"  
target-language="fr-fr" datatype="x-undefined">  
<body>  
</body>  
</file>  

<file original="word/styles.xml" source-language="en-gb" target-language="fr-fr"  
datatype="x-undefined">  
<body>  
</body>  
</file>  

================================================================
Proposal:

Since it is very useful to separate a text in parts
that can afterwards be distributed to different translators in the same team, is it possible to introduce an additional parameter in this step that accepts a user-defined tag (obviously inexistent in the original XLIFF document) that will define the way the XLIFF document is split?

Comments (6)

  1. Log in to comment