Hi devs,
I just created
http://jira.xwiki.org/browse/XWIKI-11108.
You have all the details in the issue but basically there is a
difference between old and new localization systems behaviors with
document based translation bundles that can lead to translations being
broken after an upgrade in the following use case:
* default version of the document contain French override of some standard key
* a translation of the document is "en" and empty
When current locale is "en":
* before 4.3 you get default translation from the
ApplicationResources.properties
* after 4.3 you get the French override from the document because this
is the default translation and documents have priority over resources.
Do we need to do something about it ?
Overriding standard translation with a totally inconsistent document
translation was not very clean in the first place IMO and I'm not sure
it really worth it (supporting it in the current architecture would
probably mean breaking some API).
--
Thomas Mortagne