Select the appropriate package from the drop-down list and click on Download button.
JavaPM is an open source set of scripts for localizing Java projects using XLIFF as an intermediate format.
JavaPM scans a source code folder looking for Java resource bundles (.properties files) and converts all .properties files in the source language into a single XLIFF file.
After translating an XLIFF file created by JavaPM, import it into the source code folder to generate the .properties files corresponding to the target language.
The source code of JavaPM is available under the Eclipse Public License v1.0 at https://github.com/rmraya/JavaPM. Anyone can download, compile, modify and use the source code free of charge under the terms of the license.
Running .\createxliff.bat
or ./createxliff.sh
without parameters displays help for XLIFF generation.
Usage: createxliff.bat [-help] -src sourceFolder -xliff xliffFile -srcLang sourceLanguage [-tgtLang targetLanguage] [-reuse] [-2.0] Where: -help: (optional) display this help information and exit -src: source code folder -xliff: XLIFF file to generate -srcLang: source language code -enc: (optional) character set code for .properties files; default: ISO-8859-1 -tgtLang: (optional) target language code -reuse: (optional) reuse existing translations -2.0: (optional) generate XLIFF 2.0
Running .\mergexliff.bat
or ./mergexliff.sh
without parameters displays help for importing translated XLIFF files.
Usage: mergexliff.sh [-help] -src sourceFolder -xliff xliffFile Where: -help: (optional) display this help information and exit -src: source code folder -xliff: XLIFF file to merge -unapproved: (optional) accept translations from unapproved segments -export: (optional) generate TMX file from approved segments
Subscribe to our Support Group at Groups.io
Select 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
/dist
to create or import XLIFF files.