https://www.proz.com/forum/apple_mac_operating_systems/359404-quickly_create_a_tmx_file_from_2_text_files.html

Quickly create a TMX file from 2 text files
Thread poster: Hans Lenting
Hans Lenting
Hans Lenting
Netherlands
Member (2006)
German to Dutch
Oct 17, 2022

Sometimes I'm in the middle of a project and need to research a term. When I find this term in a document for which a translation is available, I decide to create a TMX (since my CAT tool, CafeTran Espresso, can open it without conversion).

But it has to be quick, since I'm concentrating on the text to be translated.

I quickly copy the paragraphs containing the source terms/info to a file 'source.txt' on my Desktop and then I copy the paragraphs containing the target te
... See more
Sometimes I'm in the middle of a project and need to research a term. When I find this term in a document for which a translation is available, I decide to create a TMX (since my CAT tool, CafeTran Espresso, can open it without conversion).

But it has to be quick, since I'm concentrating on the text to be translated.

I quickly copy the paragraphs containing the source terms/info to a file 'source.txt' on my Desktop and then I copy the paragraphs containing the target terms/info to a file 'target.txt' on my Desktop.

Then I run the macro et voila: a TM named 'aligned.tmx' is created on the Desktop.

NOTE: You'll have to adjust the paths and language codes.

Download the macro here.

12221
Collapse


Emanuele Vacca
 
Hans Lenting
Hans Lenting
Netherlands
Member (2006)
German to Dutch
TOPIC STARTER
New version Oct 18, 2022

Just uploaded a new version, because I had forgotten to add three lines for conversion of the & entities. Please download again here.

 


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


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

Quickly create a TMX file from 2 text files






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
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 »