This project is not maintained. Please use RemoteTM instead.
An open source Translation Memory Engine written in Java.
TMEngine is based on the translation memory library used by Swordfish III, Fluenta and RemoteTM.
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
- Run
ant compile
.
Ready to use distributions are available at https://www.maxprograms.com/products/tmengine.html.
Running .\tmserver.bat
or ./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 ITmEngine
interface.
Two classes implement interface ITmEngine
:
MapDbEngine
: a translation memory engine built using MapDBSQLEngine
: an implementation designed to be used with MariaDB or MySQL
See more details on the available Java methods in the documentation.