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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb56ce306a8bc66393c18c227050671d65f1014ddaf8d124ca46e4a9bd951f9f
|
|
| MD5 |
248a2e81bf23295655073d3fa3f2255f
|
|
| BLAKE2b-256 |
b89d9f0b935152f9d8918e2899c090172409ee5e4e006f60bce6f4f4c8fe9cd6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1a570b965d50c5f8f0f671dd180478ccd4fbe4de6d9c6a9b1b7678ae7bc1d7f
|
|
| MD5 |
577dbbdc8d0a4e433576c2220af37bf5
|
|
| BLAKE2b-256 |
b22cba98a06c66eb82948ebffbf4f9a870c148c6830bc43292e284011bee99de
|