From: Alexis O'C. <ale...@co...> - 2005-07-15 10:41:02
|
Alistair Young wrote: > Thanks Alexis. > > I'm not sure what you mean by language agnostic. Bod is now an i18n > application so the template compiler must be language aware. By that I > mean the compiler has to know which language variant to build. > Ok, it's not *really* that much of a problem, but you've drawn me, so I shall respond ;-). I think the fact that templates for different languages get compiled is inherently duff. Conceptually, there should be one single generic set of templates that dynamically pull in the resource bundles at run-time. When you compile the templates stand-alone, you're really just wanting to see that their valid (i.e. are valid XML and can compile into java). The available languages should be neither here nor there. The current situtation implies that you need to seperately compile the templates for all the languages that you know about. As I say, no need for anyone to get upset ;-). Alexis |