Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
EpubCheck 4.0 now comes with i18n support. Feel free to translate the Java messsage property files to your language and then open a Pull Request or Issue here.
Current translations and its (initial) maintainers:
- Tobias Fischer (@tofi86)
- Emiliano Molina (@Cuadratin)
- Vincent Gros (@vincent-gros)
- Alberto Pettarin (@pettarin)
Report typos and fixes
If you think the EpubCheck messages in your language need some improvement, please open a new Issue on GitHub and/or contact the localization maintainer (see list above).
Contribute new languages
via Transifex (prefered way)
To do so, or to improve an existing one, please join Transifex and the epubcheck project on Transifex, request a new language and start translating the messages in their web app.
Since the transifex file format and the commandline client have some issues (see 'TODOs' in #479) we have separate Bash script which wraps the Transifec Commandline Client and normalizes the message properties files on transifex pull.
To run this script you need to have a Transifex account and install the Transifex Commandline Client!
You need to run this script from the repository's root directory!
usage: transifex-pull.sh [--all | <2-digit-country-code>] examples: transifex-pull.sh --all transifex-pull.sh de
Note for Windows users: You need a Bash Console like Cygwin, GitBash, etc. installed in order to run the epubcheck transifex client!
When you're finished with translation, please open a new Issue(!) on GitHub and assign
@tofi86 also coordinates the Transifex localization project and can answer your questions about it.
Alternative: manual translation
If you don't want to join Transifex you can manually translate EpubCheck messages. Simply duplicate the original (english) message files (
messages.properties) located in
messages_XX.properties in its respective folder and start translating.
When testing your translation on a system whose locale doesn't match the translation locale (e.g. translating pt_BR on a en_US system), try adding
-Duser.language=xx -Duser.country=XX to your
mvn commandline call – e.g.
java -Duser.language=pt -Duser.country=BR -jar epubcheck.jar test.epub for trying to test your new 'brasilian portuguese' translation.
When you're finished with translation, please send us a PullRequest with your changes and assign