Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Tool to convert TMX files to text files

Project description


NOTE: This is an fork of the original '' repo. Only modifications are for easier use with pip.

To install execute pip3 install tmxt

This tool consists on two scripts:

  •, a script to determine the language codes available inside a particular TMX file by looking to an excerpt or even the whole file.
  •, to effectively transform a TMX to a tab-separated text file using the language code list provided in the command


Requires python3 and the libraries included in requirements.txt

Examples of usage

$ python3 file.tmx
en es


$ cat file.tmx | python3
en es

$ python3 --codelist en,fr en-fr.txt


$ zcat largefile.tmx.gz | python3 --codelist en,es |gzip > bitext.en-es.gz

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tmxt, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size tmxt-0.2-py3-none-any.whl (15.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tmxt-0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page