Hi,

 I need to send email in two different languages

app.eo:
-------
...
  my $lang = $fdat->{lang} || $r->app->udat->{lang} || 'en' ;
  my %messages = %{ do '/home/www/nbcz/etc/dict/dict.dump' };
...

html:
-----
...
   $udat{lang}= 'cz';
   Execute({ inputfile => 'email.eo', mtime => undef, to => 'email1' });
   $udat{lang}= 'en';
   Execute({ inputfile => 'email.eo', mtime => undef, to => 'email2' });
...
(email.eo has a lot of [= stuff =])

If language is set in init sub, I think one cannot change current language in the middle of page - is there any workaround?

Thanks

- Robert

PS I'd take notebook on holiday ( :-( ), but I'm too lazy to install Linux - what is status of Emperl2 on Windows? I don't care for multithreading etc, one-page-at-a-time is good enough for development - so does it work at all? Can I download PPM somewhere?






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to