Thanks
-Vincent
On 23 Feb 2015 at 16:42:13, vincent(a)massol.net
(vincent@massol.net(mailto:vincent@massol.net)) wrote:
Hi Devs,
Even though we don’t have listed on
http://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices I believe the following
has already been agreed but I’d like to add it there so I’m sending it as a proposal.
So I propose that:
* Any java code requiring translation should put them in an
ApplicationResources.properties file at the root of the JAR (not the global
ApplicationResources.properties in oldcore!)
* Any wiki page requiring translations should put them in a Translations page in the
space for the app.
Special case:
* For Macro UI modules (ie containing only wiki macros), we put them in the Macros space
and in this case we should use a Macros.XXXTranslations page for each module. We’ll need
to decide what we want to do in the future.
Also, even if some existing module is wrongly using the ApplicationResources.properties
in oldcore (for example), we should still follow the rules above and start doing it in the
new way.
WDYT?
Thanks
-Vincent