Re: [htmltmpl] language support
Brought to you by:
samtregar
From: <al...@lo...> - 2004-08-25 04:43:39
|
> On Tue, 24 Aug 2004, Martin Sarfy wrote: >=20 > Using <TMPL_IF lang=3D""> construct isn't appropriate for several = reasons: >=20 > -- $lang is not accessible in <TMPL_LOOP> context > -- it's too clumsy for manual writting > -- <TMPL_IF> is not 'system' solution, it cannot handle e.g. > substitution of similar languages or so. Hi Martin. You seem to be attacking your project with a sledgehammer. There is always an elegant solution hiding somewhere, but you have to slow down enough to look for it. Have you heard that tale of 2 programmers? They have an idea and one starts coding=20 The other sits down and thinks and plans and when the first is halfway = through,=20 the second starts coding and finishes first. His program works, is = extensible=20 and scalable and first one is reminiscent of spaghetti with a huge = dollop of lard in it. Alan. |