Skip to main content

Tmx-to-txt file converter.

Project description

A script to convert tmx files to tab-delimited txt files

This is a tmx-to-txt converter. It accepts one bilingual tmx file and one optional argument containing language codes separated by the # symbol. Examples: en-US#ar-SA; EN-US#RU-RU. All characters are case sensitive. The default codes are en-US and ru-RU. The script extracts TU text only. No fields are extracted. The output is a bilingual tab-delimited txt file.

How to install on Windows in Windows PowerShell

$ python3 -m venv .venv
$ .\.venv\Scripts\Activate.ps1
$ python3 -m pip install --upgrade pip
$ python3 -m pip install tmx2txt

How to use

In Windows PowerShell:

$ python3 -m tmx2txt \path\file.tmx -c en-US#ar-SA

In Google Colab:

!pip install tmx2txt
!tmx2txt file.tmx -c en-US#ar-SA

Project details


Download files

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

Source Distribution

tmx2txt-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tmx2txt-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file tmx2txt-1.0.0.tar.gz.

File metadata

  • Download URL: tmx2txt-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4

File hashes

Hashes for tmx2txt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cb56ce306a8bc66393c18c227050671d65f1014ddaf8d124ca46e4a9bd951f9f
MD5 248a2e81bf23295655073d3fa3f2255f
BLAKE2b-256 b89d9f0b935152f9d8918e2899c090172409ee5e4e006f60bce6f4f4c8fe9cd6

See more details on using hashes here.

File details

Details for the file tmx2txt-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tmx2txt-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4

File hashes

Hashes for tmx2txt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a570b965d50c5f8f0f671dd180478ccd4fbe4de6d9c6a9b1b7678ae7bc1d7f
MD5 577dbbdc8d0a4e433576c2220af37bf5
BLAKE2b-256 b22cba98a06c66eb82948ebffbf4f9a870c148c6830bc43292e284011bee99de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page