Maven-xrts-plugin should generate stub ResourceBundles for default locale
-------------------------------------------------------------------------
Key: TRINIDAD-823
URL: https://issues.apache.org/jira/browse/TRINIDAD-823
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 1.2.3-plugins
Reporter: Bud Osterberg
Fix For: 1.2.4-plugins
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.