Translation Memory eXchange
Translation Memory eXchange (TMX) is an XML specification for the exchange of translation memory data between computer-aided translation and localization tools with little or no loss of critical data.
TMX was originally developed and maintained by OSCAR (Open Standards for Container/Content Allowing Re-use), a special interest group of LISA (Localization Industry Standards Association), and first released in 1997. The current version of the specification is 1.4b and allows for the recreation of the original source and target documents from the TMX data. A working draft of TMX 2.0 was released for public comment in March 2007 but no work on the new version has been done since. In March 2011 LISA was declared insolvent and as a result its standards were moved under a Creative Commons license and the standards specification relocated.
TMX forms part of the Open Architecture for XML Authoring and Localization (OAXAL) reference architecture.
An example of a TMX document with one entry:
<tmx version="1.4"> <header creationtool="XYZTool" creationtoolversion="1.01-023" datatype="PlainText" segtype="sentence" adminlang="en-us" srclang="en" o-tmf="ABCTransMem"/> <body> <tu> <tuv xml:lang="en"> <seg>Hello world!</seg> </tuv> <tuv xml:lang="fr"> <seg>Bonjour tout le monde!</seg> </tuv> </tu> </body> </tmx>
A number of tools can create, edit or use TMX documents. Some notable ones are:
- The Apertium machine translation platform may override the rule-based translation if there is a match in a TMX.
- KantanMT.com a statistical machine translation platform can import and export TMX files.
- Google Translate can import and export TMX files.
- MemoQ can import and export in TMX format.
- Atril Déjà Vu can import and export in TMX format.
- The Okapi Framework includes various components (e.g. Okapi Olifant) that take or generate TMX documents.
- OmegaT and OmegaT+ are free open source Java application for CAT, that uses and creates TMX in its operation.
- SDL Trados can import and export in TMX format.
- Swordfish Translation Editor uses TMX for exchanging translation memories.
- The Translate Toolkit's po2tmx converter can be used to create TMX memories from PO.
- Terminology and QA tool ApSIC Xbench can import, edit and export TMXs.
- Heartsome TMX Editor 8 (now open source) is a specialised editor for TMX files.
- Memsource can import and export in TMX format.
- "TMX Format Specifications Version 1.0". Open Standards for Container/Content Allowing Re-use (OSCAR). 25 November 1997. Retrieved 25 June 2014.
- Savourel, Yves; Lommel, Arle (26 April 2005). "TMX 1.4b Specification". The Localisation Industry Standards Association (LISA). Retrieved 25 June 2014.
- "LISA OSCAR Standards". Globalization and Localization Association (GALA). Retrieved 25 June 2014.
- Heartsome TMX Editor on GitHub
- TMX 1.4b Specification. The current version of the specification.
- TMXValidator. A free tool for validating TMX files.
- Reduce translation time and effort with the aid of XML standards by Rodolfo M. Raya. Summary of the use of TMX in localisation.
- BitBucket. Current home of Okapi, including the Olifant free TMX editor
- OpenTag. Wiki guide to Okapi/Olifant
- BinTray Okapi/Olifant distribution site
- SourceForge Older .NET version of Olifant, with some features not yet implemented in newer Java version
- GitHub. Heartsome TMX Editor 8 is now open source and on GitHub