TMX File Documentation


Overview

Feature Value
File Extension .tmx
MIME Type application/xml
File Format Type XML-Based
Primary Use Translation Memory Data
Element: <header> Contains metadata about the TMX file
Element: <body> Contains the translation units
Attribute: creationtool Defines the tool that created the TMX file
Attribute: creationtoolversion Specifies the version of the creation tool
Attribute: segtype Defines the granularity of the translation units (sentence, paragraph)
Attribute: o-tmf Original Translation Memory Format
Attribute: adminlang Specifies the administration language of the TMX file
Attribute: srclang Source language of the translation units
Attribute: datatype Type of content (e.g., PlainText, HTML)
Element: <tu> Translation Unit - core element containing a source text and its translation
Element: <tuv> Translation Unit Variant - contains the language code and content
Element: <seg> Segment - actual text of the source or translation
Attribute: xml:lang Language code for a translation unit variant
XML Namespace Optionally used for extending TMX or providing metadata
Version Support Supports multiple versions, including 1.4b
Interoperability Designed for easy exchange between translation tools
Encoding Supports UTF-8 and other encodings