Skip to main content

i18n message generator and grails plugins

  1 post   Feedicon  
Replies: 0 - Last Post: December 25, 2012 17:59
by: nanandn
showing 1 - 1 of 1
Posted: December 25, 2012 17:59 by nanandn
Hi,

In the application that I am working on, I am using grails resources plugin for minifying js and css resources. I want to use jawr plugin for exposing the i18n strings to javasript. I have defined a mapping like
jawr.js.bundle.lib.id=/i18n/messages.js
jawr.js.bundle.lib.mappings=messages:grails-app.i18n.messages

This works. The messages.js is generated using the message.properties of the application and I can see the messages in javascript. However, I have a plugin that provides common functionality to the application (and possibly other applications in the suite). The messages from the plugin's message.properties are not included by the messages.js generated by jawr.

How do I define the jawr mappings so that the message.properties from plugins are also included. I could not find any documentation for doing that or any discussions or sample in the web.

Please help.

Thanks
Anand
Replies: 0 - Last Post: December 25, 2012 17:59
by: nanandn
 
 
Close
loading
Please Confirm
Close