logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tmx2tmx - Utility to convert and filter TMX files

Authors

       •   Alberto Simões <ambs@cpan.org>

       •   José João Almeida <jj@di.uminho.pt>

Description

       This utility processes TMX documents and return TMX documents. Tasks done with this utility include
       conversion between TMX versions and TMX cleaning.

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

       This process is done using the switch "-toTrados":

         tmx2tmx -toTrados file.tmx > trados.tmx

   TMXCleaning
       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 TMX 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

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

   Selectlanguages
       Select a bunch of languages:

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

Name

       tmx2tmx - Utility to convert and filter TMX files

See Also

       tmx2html, po2tmx, XML::TMX

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

Version

       version 0.39

See Also