I would like to be able to generate a list of localisation keys in my project. Basically I want to be able to add the key to the page and then output to file the keys. Is there any way I could do this? It would mean visiting each page in my project, but I just figured it would be simpler than copy and pasting from each page. I am using the struts 'text' tag in general:
There's quite a few getText() signatures; you'd probably have to implement all of them (particularly if you use it from within actions as well as through the <s:text> tag). The <s:text> tag will use the first TextProvider on the value stack.