On Thu 10 Jun 2004, Mart?n Ferrari yo@martinferrari.com.ar wrote:
Well, I think you will agree that -even in english speaking sites- is always neccessary to customize the templates.
Maybe. The thinking behind the CSS-related work we did a while ago was to reduce and preferably remove the need to customise the templates.
If there is danger because of the templates having logic, the logic thing would be to isolate that logic.
Indeed, and in an ideal world this would no doubt be possible. However we do not live in an ideal world. Getting application logic out of the templates is something we should be trying to do. Getting presentation logic out is impossible.
One thing we could consider is making a clear distinction between "templates you may edit without fear" and "templates you should not touch", and embedding the latter in the former using TT INCLUDEs.
One idea: the templates system allows for inclusion, branching and variable defining, so we can select the language at the start and then load language-specific files which define variables then replaced in the look&feel templates.
This kind of idea, yes.
Kake