.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "TMX2TMX 1p" .TH TMX2TMX 1p 2024-03-09 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME tmx2tmx \- Utility to convert and filter TMX files .SH VERSION .IX Header "VERSION" version 0.39 .SH DESCRIPTION .IX Header "DESCRIPTION" This utility processes TMX documents and return TMX documents. Tasks done with this utility include conversion between TMX versions and TMX cleaning. .SS "TRADOS conversion" .IX Subsection "TRADOS conversion" 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. .PP This process is done using the switch \f(CW\*(C`\-toTrados\*(C'\fR: .PP .Vb 1 \& tmx2tmx \-toTrados file.tmx > trados.tmx .Ve .SS "TMX Cleaning" .IX Subsection "TMX 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. .PP This option tries to remove junk from TMX files, like empty pairs where one of the sides is empty, or removing other junk type. .PP Use it this way: .PP .Vb 1 \& tmx2tmx \-clean file.tmx > file2.tmx .Ve .SS "Concatenating TMX" .IX Subsection "Concatenating TMX" .Vb 2 \& tmx2tmx \-cat file1.tmx ... filen.tmx > file.tmx \& ls | grep \*(Aq.tmx$\*(Aq | tmx2tmx \-cat > file.tmx .Ve .SS "Select languages" .IX Subsection "Select languages" Select a bunch of languages: .PP .Vb 1 \& tmx2tmx \-select=PT,EN,FR huge.tmx > pt\-en\-fr.tmx .Ve .SH SYNOPSYS .IX Header "SYNOPSYS" .Vb 1 \& 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 .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" tmx2html, po2tmx, XML::TMX .SH AUTHORS .IX Header "AUTHORS" .IP \(bu 4 Alberto Simões .IP \(bu 4 José João Almeida .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2010\-2017 by Projeto Natura . .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.