sdlxliff <-> xliff ?

1,780 views
Skip to first unread message

Jean-Christophe Helary

unread,
Oct 4, 2010, 7:27:01 PM10/4/10
to MacL...@yahoogroups.com, xliff...@lists.oasis-open.org, Mac for Translators, xliff...@lists.freedesktop.org
Is there a reasonably straightforward way to create "normal" xliff files from a pretranslated sdlxliff ?

I'd like a xliff that has no illegal characters, no skeleton, no non-translatable contents etc. Just the _valid_ translatable contents of the sdlxliff. And a way to process back the translation to deliver a valid sdlxliff.

Ideally the tool should be FLOSS and should be able to easily handle standard file sizes (I have a 19mb file from a DOC 100 pages manual).

Besides for Rainbow (Okapi), what are the options ?


Jean-Christophe Helary
----------------------------------------
fun: http://mac4translators.blogspot.com
work: http://www.doublet.jp (ja/en > fr)
tweets: http://twitter.com/brandelune

Karl-Johan Norén

unread,
Oct 5, 2010, 9:24:27 AM10/5/10
to Mac for Translators
On 5 Okt, 01:27, Jean-Christophe Helary
<jean.christophe.hel...@gmail.com> wrote:

> Is there a reasonably straightforward way to create "normal" xliff files from a
> pretranslated sdlxliff ?

Since sdlxliff is supposed to be a strict superset of xliff, writing
eg a XSL transformation
to make sdlxliff -> xliff conversion should be fairly straightforward.
Going back the
other way might be dicier - I have no idea of the various changes that
SDL has made
to xliff, but Studio should be able to handle the xliff natively.

Jean-Christophe Helary

unread,
Oct 5, 2010, 10:30:06 AM10/5/10
to mac-for-t...@googlegroups.com

The problem is that sdlxliff is sometimes not valid XML because it is build with a .NET library that has a bug and put illegal control characters in the file. That is also the case for Trados TMX files.

Also, I am asking that because I don't want to use Studio or anything Windowsy.

I know the Okapi people are planning to work on creating an action the would work around the illegal characters and I am interested in knowing if other tools can do that too.

Rodolfo Raya

unread,
Oct 5, 2010, 12:14:05 PM10/5/10
to mac-for-t...@googlegroups.com

 
On Tue, Oct 5, 2010 at 12:30 PM, Jean-Christophe Helary <jean.christ...@gmail.com> wrote:

I know the Okapi people are planning to work on creating an action the would work around the illegal characters and I am interested in knowing if other tools can do that too.
 

TMXValidator can remove invalid characters from any XML file, not just TMX documents.

Regards,

Jean-Christophe Helary

unread,
Oct 5, 2010, 7:14:39 PM10/5/10
to mac-for-t...@googlegroups.com

On 6 oct. 10, at 01:14, Rodolfo Raya wrote:

> On Tue, Oct 5, 2010 at 12:30 PM, Jean-Christophe Helary <
> jean.christ...@gmail.com> wrote:
>
>> I know the Okapi people are planning to work on creating an action the
>> would work around the illegal characters and I am interested in knowing if
>> other tools can do that too.
>
> TMXValidator can remove invalid characters from any XML file, not just TMX
> documents.

Thank you Rodolfo.

The problem is that when I deliver the sdlxliff file after translation I'd need to put them back.

So I need a way to replace them in a way that I can use to put them back at the end.

Karl-Johan Norén

unread,
Oct 6, 2010, 1:54:29 AM10/6/10
to Mac for Translators
On 5 Okt, 16:30, Jean-Christophe Helary
<jean.christophe.hel...@gmail.com> wrote:

[ creating xliff out from sdlxliff, solving via XSL? ]
> The problem is that sdlxliff is sometimes not valid XML because it is build with
> a .NET library that has a bug and put illegal control characters in the file. That
> is also the case for Trados TMX files.

Ah. Then you're out of luck for any XSL workflow.
Reply all
Reply to author
Forward
0 new messages