RE: I18N and non-literals

2006-08-09 Thread Gerald Richter
> > [$ foreach $var qw(string chain thing) $] [= $var =] [$ endforeach $] > > will only appear as: > > $var > $var > $var > > Why is it so? Is there a way I can change this setting? I > know I can call [+ $req_rec->gettext($var) +] instead, but it > loses all the beauty ;-) > At the moment

I18N and non-literals

2006-08-09 Thread Gunnar Wolf
While building an I18N-able site, I noticed Embperl's [= =] facility seems to work only for literals, and does not work with data generated by expression - this means: [= string =] will be properly translated to whatever message I defined for 'string', but [$ foreach $var qw(string chain thing)