On Tue, 24 Aug 2004, Martin Sarfy wrote:

> Using <TMPL_IF lang=""> construct isn't appropriate for several reasons:
> 
>   -- $lang is not accessible in <TMPL_LOOP> context

Use global_vars and it will be.

>   -- it's too clumsy for manual writting

I don't understand what you mean by this.  If you consider
HTML::Template's syntax to be too clumsy then why are you using it?

>   -- <TMPL_IF> is not 'system' solution, it cannot handle e.g.
>      substitution of similar languages or so.

You can handle that in your code.  I'm certainly not going to add an
exhaustive list of languages and their synonyms to HTML::Template!

> Or should I use GNU gettext in some way?

Possibly.  I've seen it used in similar situations, but I've never
used it myself.

-sam


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to