Converting XLIFF or TTX into two separate files
Thread poster: Krzysztof Swierczynski
Krzysztof Swierczynski
Krzysztof Swierczynski
Local time: 16:24
English to Polish
Jan 3, 2012

Hello everyone,

do you know any method to convert a XLIFF or a TTX to two separate files: source and target? Particularily, I need it converted into two txt files to be able to feed them into my corpora software.

Is something like that possible?


 
Adam Łobatiuk
Adam Łobatiuk  Identity Verified
Poland
Local time: 16:24
Member (2009)
English to Polish
+ ...
Apsic Xbench Jan 3, 2012

You can import files in either format to Xbench, and then use Export Items to export them to either TMX or tab delimited text (which is what you need). This text file can be opened in Excel, and from there you can copy and paste both columns to the respective source and target files.

 
Rodolfo Raya
Rodolfo Raya  Identity Verified
Local time: 11:24
English to Spanish
Swordfish Jan 3, 2012

Hi,

You can use Swordfish to export source and target from an XLIFF document to separate text files. Use these options from File menu:

- Export Sources as Plain Text
- Export Targets as Plain Text

Regards,
Rodolfo


 
YvesS
YvesS
Local time: 08:24
English to French
Okapi Rainbow Jan 3, 2012

You can use Rainbow (open-source) to do this:

- drop your TTX or XLIFF document(s) in "Input List 1"
- Select "Utilities > Conversion Utilities > File Format Conversion"
- Select "Parallel Corpus Files" for the output format
- Enter the output path as needed (if you have several input files you can output the source/target of all of them in a single file, or have a pair of output file for each input file)
- Click Execute

cheers,
-ys


 
Krzysztof Swierczynski
Krzysztof Swierczynski
Local time: 16:24
English to Polish
TOPIC STARTER
Thanks! Jan 27, 2012

I managed to get my results using Swordfish, may try the other methods as well. Thanks for all the answers!

 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Converting XLIFF or TTX into two separate files







CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »
Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »