Grails: how to collect all messages

I am new to Grails and I have inherited an existing application. I have a large message.properties file that I would like to trim to remove keys that are no longer in use.

Django has a makemessages command that goes through the entire code base and collects all the lines that need translation, adding them to the message file and commenting on entries that no longer exist. Is there a similar tool for Grails? If this helps, the project is based on versions 1.3.9.

+6
source share
1 answer

There is no such tool, but you can create your own gant script. Look at the list of all the i18n properties used in the Grails application and process this list.

+5
source

All Articles