An open source Translation Memory Engine written in Java.
TMEngine can be used either as an embedded library that manages translation memories in a Java application or as a standalone TM server via its REST API.
- JDK 11 or newer is required for compiling and building.
- Apache Ant 1.10.6 or newer
- Checkout this repository.
- Point your JAVA_HOME variable to JDK 11
Ready to use distributions are available at https://www.maxprograms.com/products/tmengine.html.
./tmserver.sh without parameters displays help for starting TMEngine as a standalone server.
Usage: tmserver.sh [-help] [-version] [-port portNumber] Where: -help: (optional) Display this help information and exit -version: (optional) Display version & build information and exit -port: (optional) Port for running HTTP server. Default is 8000
Visit http://localhost:8000/TMServer/stop to stop the server. Adjust the port number if required.
TMEngine can be embedded in Java applications that need to deal with Translation Memory data.
Add all .jar files from
/lib folder to the classpath of your application and use instances of
Two classes implement interface
MapDbEngine: a translation memory engine built using MapDB
SQLEngine: an implementation designed to be used with MariaDB or MySQL
See more details on the available Java methods in the documentation.