- changed status to open
XLIFF Splitter Step: allow splitting on user-defined tags
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)
-
Account Deleted -
Account Deleted Comment [2.](https://code.google.com/p/okapi/issues/detail?id=196#c2) originally posted by @ysavourel on 2011-11-22T15:34:20.000Z:
-
- edited description
-
- changed title to XLIFF Splitter Step: allow splitting on user-defined tags
-
Indeed, this would a great feature!
-
- Log in to comment
Comment [1.](https://code.google.com/p/okapi/issues/detail?id=196#c1) originally posted by @ysavourel on 2011-11-22T15:33:54.000Z:
Thanks for logging the request for enhancement.