I am using Spring MVC - ResourceBundleMessageSource/SessionLocaleResolver
for localization with the locale message stored in a properties file on the server.
I then have placed the Ext-JS code in a JSP file and I access the locale messages as follows:
This all works perfectly.
However, from an efficiency point of view, should the Ext-JS code be in JS files instead ?
If so then I wont be able to use the Spring messages. What is the best way to fetch the messages ?
Anyone have any pointers as to correct way to do this ?