In Alfresco Share, web scripts can use ".properties" files for the internationalization.
Each web script can define its properties files with custom messages.
I need to customise this functionality to use the same properties for all the web scripts (even pre-existing web scripts that I can't or I do not want to change).
I am wondering if someone knows from what class I should start looking.
What I want to achieve is to "alter" the object msg that is available in the free marker template so I can modify the default translations.
It seems that a class used in managing the messages is org.springframework.extensions.webscripts.MessageMethod that extends the class org.springframework.extensions.webscripts.AbstractMessageHelper.
Does anyone know how to provide a custom instance of MessageMethod ?