Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.3-plugins
-
None
-
None
Description
The base string resource files are written in English. Translations are done from there. Unfortunately this leads to a weird bug when the server is in a non-English locale (say ja). When American English (en-US) resources are requested, Java RescourceBundle will do a lookup in this order:
1. Res_en_US
2. Res_en
3. Res_ja (according to default locale, say this is Japanese here)
4. Res
In this case, #3 gets a hit and returns, where we were really expecting #4.
A simple fix is to generate stub _en ResourceBundles which simply extend the base (English) bundle.