Open Xliff Filters

Open Xliff Filters logo

An open source set of Java filters for creating, merging and validating XLIFF 1.2 and 2.0 files.

The source code of Open XLIFF Filters is available under Eclipse Public License v1.0 at https://github.com/rmraya/OpenXLIFF.

With Open XLIFF Filters you can create XLIFF files that don't use proprietary markup and are fully compatible with Swordfish Translation Editor.

Project XLIFF Manager implements an easy to use UI for creating/merging XLIFF files in a graphical environment.

XLIFFChecker is now part of Open XLIFF Filters. Its code has been ported to Java 11 and enhanced with support for XLIFF 2.0.

Supported File Formats
General Documentation
  • Adobe InDesign Interchange (INX)
  • Adobe InDesign IDML CS4, CS5, CS6 & CC
  • HTML
  • Microsoft Office (2007 and newer)
  • Microsoft Visio XML Drawings (2007 and newer)
  • MIF (Maker Interchange Format)
  • OpenOffice / LibreOffice / StarOffice
  • Plain Text
  • SDLXLIFF (Trados Studio)
  • TXML (GlobalLink/Wordfast PRO)
XML Formats
  • XML (Generic)
  • DITA 1.0, 1.1, 1.2 and 1.3
  • DocBook 3.x, 4.x and 5.x
  • SVG
  • Word 2003 ML
  • XHTML
Software Development
  • JavaScript
  • Java Properties
  • PO (Portable Objects)
  • RC (Windows C/C++ Resources)
  • ResX (Windows .NET Resources)
  • TS (Qt Linguist translation source)
Requirements

JDK 11 or newer is required for compiling and building Open XLIFF Filters.

Building
  • Checkout Open XLIFF Filters repository from https://github.com/rmraya/OpenXLIFF.
  • Point your JAVA_HOME variable to JDK 11.
  • Execute .\buid.bat or ./build.sh to generate a binary distribution in open_filters
Converting Documents to XLIFF

You can use the library in your own Java code. Conversion to XLIFF is handled by the class com.maxprograms.converters.Convert.

If you use binaries from the command line, running .\convert.bat or ./convert.sh without parameters displays help for XLIFF generation.

Converting XLIFF to Original Format

You can convert XLIFF files created with Open XLIFF Filters to original format using class com.maxprograms.converters.Merge in your Java code.

If you use binaries from the command line, running .\merge.bat or ./merge.sh without parameters will display the information you need to merge an XLIFF file.

Validating XLIFF Files

The original XLIFFChecker code supports XLIFF 1.0, 1.1 and 1.2. The new version incorporated in Open XIFF Filters also supports XLIFF 2.0.

All XLIFF 2.0 modules are validated using XML Schema validation.

Standard XML Schema validation does not detect the use of duplicated 'id' attributes, wrong language codes and other constraints written in the different XLIFF specifications.

Extra validation is performed for XLIFF 2.0 Core and for Metadata, Matches and Glossary modules.

You can use the library in your own Java code. validation of XLIFF files is handled by the class com.maxprograms.validation.XliffChecker.

Download Open Xliff Filters Binaries

Fluenta InstallerSelect the appropriate package from the drop-down list and click on Download button.


 

Decompress the downloaded package and use the .bat or .sh files inside /open_filters to create, merge or validate XLIFF files.

Platforms

Windows LogoMicrosoft Windows
(8, 8.1 and 10)

Apple LogomacOS
(10.12, 10.13 and 10.14)

Linux LogoLinux