[stringtemplate-interest] deployment question
Greg Parker
greg.parker at brovada.com
Sat Aug 18 19:02:51 PDT 2007
Just curious to see if StringTemplate can solve a particular deployment
requirement I have on a project. Currently we host a repository full of
Velocity templates that our clients download and use within software
installed on their computers. We are now getting ready to add
muti-language support to these templates. I would like to maintain one
copy of each template and simply externalize all the language elements
into resource files. At deployment time I would like to preprocess the
templates into one repository per supported language. So all we have to
do is maintain one template, and one resource file per language. The
problem is that the templates are velocity templates. If I use velocity
to preprocess the templates to add the language support, I will also
inadvertently affect the template variables that have nothing to do with
language support. I just thought I would post this question on the off
chance that StringTemplate has some type of facility for this, or that
someone might have a solution.
Thanks
More information about the stringtemplate-interest
mailing list