
An open source set of Java filters for creating, merging and validating XLIFF 1.2 and 2.0 files.
The source code of OpenXLIFF Filters is available under Eclipse Public License v1.0 at https://github.com/rmraya/OpenXLIFF.
An open source set of Java filters for creating, merging and validating XLIFF 1.2 and 2.0 files.
The source code of OpenXLIFF Filters is available under Eclipse Public License v1.0 at https://github.com/rmraya/OpenXLIFF.
With OpenXLIFF Filters you can:
XLIFF 1.2 files generated by OpenXLIFF are fully compatible with Swordfish Translation Editor and most CAT tools.
Project XLIFF Manager implements an easy to use UI for creating/merging XLIFF files in a graphical environment.
JAVA_HOME
variable to JDK 17.ant
. Steps for building:
git clone https://github.com/rmraya/OpenXLIFF.git cd OpenXLIFF ant
A binary distribution will be created in /dist
folder.
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.
You can convert XLIFF files created with OpenXLIFF 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.
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
.
This library lets you produce an HTML file with word counts and segment status statistics from an XLIFF file.
If you use binaries from the command line, running .\analysis.bat
or
./analysis.sh
without parameters displays help for statistics generation.
You can generate statistics using your own Java code. Statistics generation is handled by the
class com.maxprograms.stats.RepetitionAnalysis
.
Subscribe to our Support Group at Groups.io