SYNOPSYS

  tmx2tmx -cat file1.tmx ... filen.tmx > file.tmx

  tmx2tmx -toTrados file1.tmx > file2.tmx

  tmx2tmx -clean file1.tmx > file2.tmx

  tmx2tmx -select=PT,EN multilingual.tmx > pt-en.tmx

DESCRIPTION

This utility processes \s-1TMX\s0 documents and return \s-1TMX\s0 documents. Tasks done with this utility include conversion between \s-1TMX\s0 versions and \s-1TMX\s0 cleaning.

\s-1TRADOS\s0 conversion

As you maybe know, \s-1TRADOS\s0 is a company producing computer software for translators. It includes WorkBench which imports \s-1TMX\s0 files. Unfortunately, the version I used do not import \s-1TMX\s0 version 1.4.

This process is done using the switch \*(C`-toTrados\*(C':

tmx2tmx -toTrados file.tmx > trados.tmx

\s-1TMX\s0 Cleaning

Specially when translation memories are created from anotated text, or extracted directly from the Internet using any automatic method. This switch is used to remove junk in translation units.

This option tries to remove junk from \s-1TMX\s0 files, like empty pairs where one of the sides is empty, or removing other junk type.

Use it this way:

tmx2tmx -clean file.tmx > file2.tmx

Concatenating \s-1TMX\s0

tmx2tmx -cat file1.tmx ... filen.tmx > file.tmx ls | grep '.tmx$' | tmx2tmx -cat > file.tmx

Select languages

Select a bunch of languages:

tmx2tmx -select=PT,EN,FR huge.tmx > pt-en-fr.tmx

RELATED TO tmx2tmx…

tmx2html, po2tmx, \s-1XML::TMX\s0

AUTHOR

Alberto Simo\*~es, <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2004 by Projecto Natura

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.