On Wed, Dec 19, 2012 at 3:02 PM, Marius Dumitru Florea
<
mariusdumitru.florea(a)xwiki.com> wrote:
On Wed, Dec 19, 2012 at 2:51 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
Hi devs,
The last piece missing to the new localization framework for 4.x is to
allow providing translations in a jar extension.
Here are some ideas:
1) Continue with
ApplicationResources_*.properties files but loads it
from
everywhere instead of taking the first one we
find like now
+1 for looking for ApplicationResources_*.properties in the root of
the jar, thus +1 for putting ApplicationResources_*.properties in
src/main/resources, as it is now in oldcore.
2) Same that 1) but place it somewhere a bit
"cleaner" like
org/xwiki/localization/translation_*.properties
Do you think 1) can lead to "conflicts", i.e. loading
ApplicationResources_*.properties that were not intended for the
localization module?