Quote:
Originally Posted by Doitsu
If you add a "locale": "fr", entry...
|
EPUBCheck (the command line tool) treats the 'locale' argument in a curious way (to be honest, looks like a bug to me). First, it already defaults to your system locale, so no need to use the 'locale' argument. But, if you try to explicitly set it to be the same as your system's locale, then English is used instead.
For example: my system locale is 'pt_BR'; if I run it like below, messages will be in English.
Code:
java -jar epubcheck.jar -locale 'pt_BR' book.epub
Now, if I remove the 'locale' argument, then Portuguese is used. If you choose a locale that is different from your system's, then it works as expected (e.g. using 'fr' works just fine, and the messages are presented in French).
Edit: The problem seems to be with the _XX part. Although their
official site gives the example just like the above code.