Developer Platform

Maxprograms' products are built on a set of libraries, in Java and TypeScript, covering XML processing, XLIFF and localization standards, translation memory, and AI/MT integration. Most of them are built with minimal third-party dependencies, favoring code we maintain ourselves over external packages. This page catalogs those libraries directly, for developers who want to use them on their own rather than through one of our desktop products. For custom development or integration built on any of them, see Services.

Desktop and server applications already listed on the Products page (Swordfish, Fluenta, TMXEditor, Stingray, Anchovy, XLIFF Manager, JavaPM, SRXEditor, RemoteTM, TMXValidator) aren't repeated here, and neither is the XLIFF Validation Service, a hosted tool rather than a library. All the code is public, on GitHub, under github.com/maxprograms-com. Anyone can download, compile, modify, and use the source code free of charge, or contact Maxprograms for commercial arrangements.

XML and language foundations

The base layer: parsing and validating XML itself, and handling language tags. Everything else is built on top of these.

TypesXML (TypeScript)

npm version license

A full XML parser and processing library, with DOM and streaming (SAX) APIs, DTD and XML Schema validation, and XML Catalog resolution. TypeScript has no native XML parser, so this is written from scratch, not a wrapper around one. Used internally by most of the other TypeScript libraries on this page; also usable directly.

npm install typesxml

XMLJava (Java)

Java license

Builds on Java's own XML parsers, which are solid but not enough on their own, adding what Maxprograms' processing needs require. Source-available, viewable and modifiable for personal, educational, or internal evaluation use; commercial use requires contacting Maxprograms.

git clone https://github.com/maxprograms-com/XMLJava.git
cd XMLJava
gradle

To use it as a local composite build in another Gradle project:

includeBuild '../XMLJava'

TypesBCP47 (TypeScript)

npm version license

Parses and validates BCP 47 language tags. A small, focused library, mostly used internally by other tools that need to check or normalize a language code.

npm install typesbcp47

BCP47J (Java)

Java license

Language lookup, normalization, and script direction (BiDi, CJK) by BCP 47 code. Ships as part of OpenXLIFF Filters, and is also usable on its own. Source-available, viewable and modifiable for personal, educational, or internal evaluation use; commercial use requires contacting Maxprograms.

git clone https://github.com/maxprograms-com/BCP47J.git
cd BCP47J
gradle

To use it as a local composite build in another Gradle project:

includeBuild '../BCP47J'

TypesExcel (TypeScript)

npm version license

Reads and writes Excel (.xlsx) files by working directly with the OOXML ZIP structure, no native bindings, no external spreadsheet engine. Built on TypesXML for XML parsing. Typed cell values, multi-sheet support, usable directly for data extraction or report generation.

npm install typesexcel

XLIFF and localization standards

Format conversion and XLIFF-specific processing, the layer most of Maxprograms' translation tools are built on.

OpenXLIFF Filters (Java)

Java license

Converts dozens of file formats to and from XLIFF 1.2, 2.0, 2.1, and 2.2, with TMX export, ICE match recovery, pseudo-translation, and statistics generation. It exposes this as a set of varied command-line utilities, conversion, merging, validation (xliffchecker, which powers the live XLIFF Validation Service), and translation-status analysis, so files can be processed without a GUI. XLIFF Manager uses some of these commands, not all of them, for users who need a graphical interface. The Java engine behind Swordfish, Fluenta, and RemoteTM; also usable as a standalone library.

git clone https://github.com/maxprograms-com/OpenXLIFF.git
cd OpenXLIFF
gradle

To use it as a local composite build in another Gradle project:

includeBuild '../OpenXLIFF'

TypesXLIFF (TypeScript)

npm version license

Parses, generates, and validates XLIFF 2.x files, with a fully typed object model, JSON conversion, and per-element validation. Built on TypesXML. The foundation for the newer TypeScript-based XLIFF tooling, including XliffAI and XliffDeepl.

npm install typesxliff

TypesTerms (TypeScript)

npm version license

Extracts candidate terms from XLIFF 2.x files, monolingual and bilingual, using the YAKE keyword-extraction algorithm. Ships as a command-line tool as well as a library.

Install as a command-line tool:

npm install -g typesterms

Install as a library:

npm install typesterms

Terms (Java)

Java license

Monolingual and bilingual term extraction from XLIFF 2.0, using the YAKE keyword-extraction algorithm. Command-line tool.

git clone https://github.com/maxprograms-com/Terms.git
cd Terms
gradle

To use it as a local composite build in another Gradle project:

includeBuild '../Terms'

xliff-validation (TypeScript)

npm version license

A command-line XLIFF validator built on TypesXLIFF, checking XLIFF files against the standard from a terminal, with an optional custom catalog file.

npm install -g xliff-validation

Translation memory infrastructure

Storing, matching, and moving translation memory data, locally or over a network.

HybridTM (TypeScript)

npm version license

A semantic translation memory engine combining LanceDB vector storage with traditional fuzzy matching. Available as a library, a CLI, or a JSON-over-HTTP server.

Install as a library:

npm install hybridtm

Install as a command-line tool:

npm install -g hybridtm

TypesMem (TypeScript)

npm version license

A translation memory engine backed by SQLite (via Node's built-in node:sqlite, no native module to compile). Full TMX 1.4 fidelity on import and export, with fuzzy and concordance search, including a CJK-friendly trigram index. No command-line tool, it's a library called from your own Node/TypeScript code.

npm install typesmem

TypesRestMem (TypeScript)

npm version license

A REST client for RemoteTM servers, speaking RemoteTM's existing API (ticket-based authentication, memory management, search, TMX import/export) from any Node/TypeScript application. RemoteTM itself is unchanged; this is a client library, not a server.

npm install typesrestmem

TypesMatch (TypeScript)

npm version license

Defines the shared Match type used by TypesMem, TypesRestMem, HybridTM, and MTEngines, so a result from any of them is interchangeable with any other. No logic of its own; an internal component, not something used directly.

sdltm (TypeScript)

npm version license

Converts SDLTM files (Trados Studio's translation memory format) to standard TMX 1.4b. No command-line tool, it's a library called from your own Node/TypeScript code.

npm install sdltm

AI and machine translation integrations

Connecting XLIFF workflows to machine translation engines and AI models.

MTEngines (TypeScript)

npm version license

A common interface to machine translation and AI engines, so calling code doesn't need to know which provider is behind a given translation. Supports Alibaba Qwen, Anthropic Claude, DeepL (Free and Pro), Google Cloud Translation, Google Gemini, Microsoft Azure Translator Text, Mistral AI, ModernMT, Ollama (for locally hosted models, nothing sent to external servers), and OpenAI ChatGPT.

npm install mtengines

XliffAI (TypeScript)

npm version license

Translates XLIFF 2.x files with AI, sending batches of segments per request (with glossary terms and surrounding context) rather than one segment at a time. Proposed translations are added as reviewable match candidates, never written directly into a segment's target. Supports seven AI engines through the same interface: ChatGPT (OpenAI), Claude (Anthropic), Gemini (Google), Mistral, Alibaba DashScope (Qwen, DeepSeek, Kimi, and other models hosted there), Z.ai (Zhipu), and Ollama, for locally hosted models, so a file's content never leaves the machine. Ships an xliffai command-line tool as well as a library. Built on TypesXLIFF.

Install as a library:

npm install xliffai

Install as a command-line tool:

npm install -g xliffai

XliffDeepl (TypeScript)

npm version license

A command-line tool that translates XLIFF 2.1/2.2 files through DeepL, using TypesXLIFF to validate the file's languages against what DeepL supports.

npm install -g xliff-deepl

Contact us

Questions about any of these libraries, or how to use them, are welcome.

Contact Us