I have java/spring based web application with front end in JSP/HTML/JS/Jquery.
We already have spring based i18n support.
- In JSP labels are coming from property files.
- html/browser download the js file specific to locale which contains validatins messages.
Problem for both above points , half of the labels/messages are hardcoded in jsp/js files instead of picking them up from resource bundle.Now we need to replace those harcoded labels/messages with resource bundle/ js files.
I can think of only manual solution where developer need to go through each jsp/js files and see if any hard coded message exist. If yes pick it fromresource bundle. Is there any better strategy to automate this task where I can get list of all hardcoded messages in jsp and js file with some utility/third party plugin etc