Downloading a TMX File

Export a TMX file from Transifex for use with an offline tool.

Jacob avatar
Written by Jacob
Updated over a week ago

Transifex allows you to export the TMX file of a project and use it with an offline translation tool.

How to export your TMX file

  1. Pick the project you want to edit from the project navigation in the Dashboard

  2. Click on Languages.

    project-languages-overview.png#asset:233

  3. Click the Get TMX icon.

    tmx-file_color.png#asset:1135

  4. In the popup, select the language(s) that you want to download the TMX file for

  5. Click Download to get your TMX file.

The exported TMX will look like this:

...
<tu>
<prop type="context"></prop>
<tuv xml:lang="en" creationdate="20210511T084001" lastusagedate="20211108T090745">
<seg>Password</seg>
</tuv>
<tuv xml:lang="de" creationdate="20210929T073634" lastusagedate="20211108T090745">
<seg>Passwort</seg>
</tuv>
<tuv xml:lang="el" creationdate="20210930T145229" lastusagedate="20211108T090745">
<seg>Kωδικός</seg>
</tuv>
<tuv xml:lang="el" creationdate="20210930T145229" lastusagedate="20210930T145457">
<seg>Κωδικός χρήστη</seg>
</tuv>
</tu>
...

What does a TMX file contain?

  • The date the specific TM entry was created (creationdate) as well as the last time this entry was used (lastusagedate)

  • All the available translation versions hosted at your project's TM instance in Transifex

TMX file with plurals

When the TMX file of a project contains pluralized translations, these are represented within the TMX structure with the following properties:

  • x-Plural-Source-Group

    It is used to group source texts in the various plural forms

  • x-Plural-Translation-Group

    It is used to group translations in the various plural forms per language

  • x-Plural-Rule

    The plural form, e.g., one, other, few, many, etc.

  <tu>
<prop type="x-Plural-Source-Group">06cbe4267fa13c12bc6bc2a8888636df</prop>
<prop type="x-Plural-Rule">one</prop>
<prop type="context"></prop>
<tuv xml:lang="en" creationdate="20220106T145747" lastusagedate="20220106T145747">
<seg>Project Maintainer</seg>
</tuv>
<tuv xml:lang="fr" creationdate="20220106T145747" lastusagedate="20220106T145747">
<prop type="x-Plural-Translation-Group">0c1ec8968eba2c0889b1cfb39fec197c</prop>
<seg>Mainteneur de projet</seg>
</tuv>
</tu>
<tu>
<prop type="x-Plural-Source-Group">06cbe4267fa13c12bc6bc2a8888636df</prop>
<prop type="x-Plural-Rule">many</prop>
<prop type="context"></prop>
<tuv xml:lang="en" creationdate="20220106T145747" lastusagedate="20220106T145747">
<seg>Project Maintainers</seg>
</tuv>
<tuv xml:lang="fr" creationdate="20220106T145747" lastusagedate="20220106T145747">
<prop type="x-Plural-Translation-Group">0c1ec8968eba2c0889b1cfb39fec197c</prop>
<seg>Mainteneurs de projet</seg>
</tuv>
</tu>
<tu>
<prop type="x-Plural-Source-Group">06cbe4267fa13c12bc6bc2a8888636df</prop>
<prop type="x-Plural-Rule">other</prop>
<prop type="context"></prop>
<tuv xml:lang="en" creationdate="20220106T145747" lastusagedate="20220106T145747">
<seg>Project Maintainers</seg>
</tuv>
<tuv xml:lang="fr" creationdate="20220106T145747" lastusagedate="20220106T145747">
<prop type="x-Plural-Translation-Group">0c1ec8968eba2c0889b1cfb39fec197c</prop>
<seg>Mainteneurs de projet</seg>
</tuv>
</tu>
<tu>


Continue Reading

Did this answer your question?