upconversion not working on locale other than "en"
Brought to you by:
davemckain
The snuggletex-upconversion-1.2.2.jar does not work on computers with language settings other than English. I need to start my JVM with the flag -Duser.language=en to get it working.
Cause of this bug is the file: uk\ac\ed\ph\snuggletex\upconversion\error-messages-en.properties
This file is called from UpConversionPackageDefinitions from line 46 with setErrorMessageBundle. The resourcebundle includes the locale which currently only works for en locale.
Suggested fix would be to include (or just rename) error-messages.properties in the package, in that way the package is no longer depending on the locale settings.
Hi Sander,
Thanks for the bug report. This bug had already been fixed in the 1.3 branch, which I'd suggest you use over 1.2.2. (The current 1.3 snapshot is stable and essentially a beta version of 1.3.0; I just haven't been able to find time to get 1.3.0 released!)
If you use Maven, you can access these snapshots via the 1.3-SNAPSHOT version number. If you don't use Maven, you can still download the current snapshots by drilling into the 1.3-SNAPSHOT subdirectories under:
http://www2.ph.ed.ac.uk/maven2/uk/ac/ed/ph/snuggletex/