Just a thought.

Isn't it possible to implement layout (structure) and text in separate 
templates? One template defines layout and blocks, another one extends the 
former and populates blocks with translated text and/or proper i18n tags. 
The idea is to have several "translation" templates, which extend one 
"layout" template. I know it is a verbose approach, but it doesn't break 
anything, and doesn't go against DRY.

Thanks,

Eugene


"hugo" <[EMAIL PROTECTED]> wrote in 
message news:[EMAIL PROTECTED]
>
>>I must say I like Ian's proposal that the template_loader could load a
>>different template based on language. That would avoid this whole
>>problem, and it'd allow for more language-specific flexibility -- e.g.
>
> Ugh. No. Templates are structure of pages - and the structure should be
> the same over all translations. Translating full templates is so much
> against DRY that I really can't see any reason to do it - the problems
> with translations inside templates can be solved (are solved in part -
> some parts are just plain syntax discussions and I am quite open to it
> - that's why I mad a proposal how to implement Roberts idea ;-) ), so
> please don't throw out the child with the bath.
>
> bye, Georg
>
> 



Reply via email to