Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
AppleScript to compact TMX files with TextWrangler.
Thread poster: CafeTran Training (X)
CafeTran Training (X) Netherlands Local time: 20:46
Oct 20, 2016
Here you can download an AppleScript to compact TMX files by removing identical segments that only differ in punctuation, spaces and numbers (while keeping one unique segment pair for every set of matches). Please note that punctuation is removed from the resulting TMX file. All numbers are set to 0 (normally your CAT tool will insert the correct numbers while insertion fuzzy matches). Segments pair where source=target and segment pairs that don't contain any letters are removed too.
The script shows how to parse and process a TMX file and later rebuild it, using AppleScript.
Further removals/clean up actions can be added at request.
[Edited at 2016-10-20 12:44 GMT]
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
To report site rules violations or get help, contact a site moderator:
The leading translation software used by over 250,000 translators.
SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running and helps experienced users make the most of the powerful features.
PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.