I have some doubts about one development related to different frameworks and .properties files.
I'm developing three projects, there are one with desktop
java J2SE that uses a native .properties (not connected with nothing, it's used to manage and adapt local files to be ingested), other that have Struts2 framework and uses the default .properties file for i18n (used to manage the content of the frontend) and other more, based on SpringMVC and Liferay which uses the standard way to get a property (the target front-end).
The problem is that now, I want to unify these three projects, and the only way that I have into my head is use a common library that request for a property, and get the target code. The problem is that I have to adapt all the projects and all the called getText(KEY) functions should be replaced by these target library.
My question is if there is other way to load several .properties files with a library, and take advantage of the current framework of each project, because the only solution that I've thought is replace all the called getText() functions and call to a external library that check if there are one property of each .property file, but with this solution I have some problems with SpringMVC.
Thanks in advance for any idea.