Hello,
I'm currently working on a project involving several home-made webscripts.
I internationalize those by using the classic .<method>.properties files.
I noticed that, obviously, some of my language strings were the same across all those webscript so I tried to include them in a 'global.properties' file and tried to include it on each webscript.
So I tried a classic freemarker <#include "../myPath/global.properties" /> in my .<method>.properties however the strings aren't available.
Since I double checked the path was fine before posting, I suppose that freemarker doesn't parse the properties files.
So I currently have 2 options:
- appending my shared strings to <TOMCAT HOME>/webapps/alfresco/WEB-INF/classes/alfresco/messages/templates-messages.properties
- copy/pasting my shared strings in each of my properties files
And as you can guess, none of those satisfy me.
Is there something I'm missing? Some kind of workaround?
Thanks,