Hi folks, I lack multiple language support in HTML::Template.
My idea is that I wrote complete HTML page with tons of design included and then wrap pieces of text using e.g. <TMPL_LANG lang="eng">Hello</TMPL_LANG> <TMPL_LANG lang="spa">Ciao</TMPL_LANG> <TMPL_LANG lang="cze">Ahoj</TMPL_LANG> How do you solve this problem? Using <TMPL_IF lang=""> construct isn't appropriate for several reasons: -- $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. Creating another copy of template file with translation is not maintainable because of changes in design. Or should I use GNU gettext in some way? Thanks a lot for advice -- Martin Sarfy ------------------------------------------------------- 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