ProZ.com global directory of translation services
 The translation workplace
Ideas

 
User
Thread poster: Mr_Cook
Converting XLIFF or TTX into two separate files
Mr_Cook
Poland
Local time: 02:28
English to Polish
Jan 3

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?


Direct link Reply with quote
 
Adam Łobatiuk  Identity Verified
Poland
Local time: 02:28
Member (2009)
English to Polish
+ ...
Apsic Xbench Jan 3

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.

Direct link Reply with quote
 

Rodolfo Raya  Identity Verified
Uruguay
Local time: 21:28
Partial member (2008)
English to Spanish
Swordfish Jan 3

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


Direct link Reply with quote
 
YvesS
United States
Local time: 18:28
English to French
Okapi Rainbow Jan 3

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


Direct link Reply with quote
 
Mr_Cook
Poland
Local time: 02:28
English to Polish
TOPIC STARTER
Thanks! Jan 27

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

Direct link Reply with quote
 


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

Moderator(s) of this forum
Natalie[Call to this topic]
Alfonso Romero[Call to this topic]

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

Converting XLIFF or TTX into two separate files







SDL MultiTerm Extract 2011
Save time by automatically extracting terms. 15% off!

SDL MultiTerm Extract 2011 allows you to automatically create candidate term lists from your existing documentation. This removes the manual effort involved with traditional terminology creation, allowing you to rapidly add terms to SDL MultiTerm.

More info »
memoQ translator pro 5.0
Save 20% with memoQ today!

memoQ translator pro is the premium product for professionals. It is Kilgray's best-selling tool among freelance translators: you get all the functionality available in memoQ in your local environment plus the ability to work on remote servers.

More info »