AppleScript to compact TMX files with TextWrangler.
Thread poster: CafeTran Training

CafeTran Training
Local time: 08:52
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]

Direct link Reply with quote

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

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

AppleScript to compact TMX files with TextWrangler.

Advanced search

WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search