Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1220

Place new template and JS translations in xwiki-platform-web-war

$
0
0

Hi everyone,

to my knowledge we keep putting in xwiki-platform-oldcore new translations that are used in templates placed in xwiki-platform-web-templates.
I think we should change that in the future: the only reason why we’re doing that is habits I think. We should normally put the translations in the same module they’re used.

Now, we already have the proper structure in xwiki-platform-web-war for adding the ApplicationsResources.properties file for translation, and we also need to handle translations that are put in javascript files located in xwiki-platform-web-war. So instead of having multiples files located in web-templates and web-war that we would need to concatenate, I propose that we use a single file in web-war for both modules.

Also I don’t think we really need to move existing translations at it would be a lot of work: if we agree, I propose that we follow that rule for new translations only.

WDYT?

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1220

Trending Articles