https://github.com/rmraya/tmxvalidator
Checks the validity of your TMX files
https://github.com/rmraya/tmxvalidator
tmx validation
Last synced: about 1 year ago
JSON representation
Checks the validity of your TMX files
- Host: GitHub
- URL: https://github.com/rmraya/tmxvalidator
- Owner: rmraya
- License: epl-1.0
- Created: 2018-11-27T19:50:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T09:38:01.000Z (over 1 year ago)
- Last Synced: 2025-04-03T05:23:39.609Z (over 1 year ago)
- Topics: tmx, validation
- Language: Java
- Size: 8.01 MB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TMXValidator

Check the validity of your TMX documents on Windows, Linux or macOS with TMXValidator.
Most CAT (Computer Aided Translation) tools rely on TMX (Translation Memory eXchange) standard to exchange translation memory data. Unfortunately, some tools produce files that are not valid and others do not accept correctly formatted TMX documents.
TMXValidator validates your documents against the TMX DTD and also verifies that they comply with the requirements described in the TMX specifications.
TMXValidator supports TMX versions 1.1, 1.2, 1.3 and 1.4.
The source code of TMXValidator was originally published on SourceForge at [https://sourceforge.net/p/tmxvalidator/code](https://sourceforge.net/p/tmxvalidator/code).
The original version of TMXValidator loaded the TMX file into memory for validation. Validation of very large TMX files was limited by the amount of available memory.
This version of TMXValidator does not need to load the whole file into memory and has no size limitation.
## Releases
Version | Comment | Release Date
--------|---------|-------------
2.7.0 | Added support for huge files | March 22, 2024
2.6.0 | Tighter checking of "x" and "i" attributes and language codes | July 4, 2023
2.5.0 | Updated code and libraries | May 22, 2023Ø
2.4.0 | Updated libraries | December 8, 2022
2.3.0 | Updated code and libraries | February 17, 2022
2.2.0 | Updated libraries and TypeScript code | January 2, 2021
2.1.0 | Added UI written in TypeScript and improved validation | February 5, 2020
2.0.2 | Switched to ant for building and updated OpenXLIFF| August 8, 2019
2.0.1 | Fixed date validation and updated libraries | June 24, 2019
2.0.0 | New version that supports validation of very large files | November 28, 2018
Ready to use installers are available at [https://www.maxprograms.com/products/tmxvalidator.html](https://www.maxprograms.com/products/tmxvalidator.html)
## Requirements
- JDK 21 or newer is required for compiling and building. Get it from [Adoptium](https://adoptium.net/).
- Apache Ant 1.10.14 or newer. Get it from [https://ant.apache.org/](https://ant.apache.org/)
- Node.js 20.11.0 LTS or newer. Get it from [https://nodejs.org/](https://nodejs.org/)
- TypeScript 5.4.2 or newer. Get it from [https://www.typescriptlang.org/](https://www.typescriptlang.org/)
## Building
- Checkout this repository.
- Point your `JAVA_HOME` environment variable to JDK 21
- Run `ant` to compile the Java code
- Run `npm install` to download and install NodeJS dependencies
- Run `npm start` to launch TMXValidator
``` bash
git clone https://github.com/rmraya/TMXValidator.git
cd TMXValidator
ant
npm install
npm start
```
Compile once and then simply run `npm start` to start TMXValidator