perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Multilingual support: different languages in the same page?
Date Thu, 07 Jul 2005 19:35:17 GMT
You can change the message hash inside the page:

> ...
>     $udat{lang}= 'cz';

$epreq -> messages ([\%cz_msgs]) ;

>     Execute({ inputfile => 'email.eo', mtime => undef, to => 
> 'email1' });

$epreq -> messages ([\%en_msgs]) ;

>     $udat{lang}= 'en';
>     Execute({ inputfile => 'email.eo', mtime => undef, to => 
> 'email2' }); ...

It might also work to pass the messages parameter to Execute, but I didn't
tried this yet

> (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?
> 

Embperl 2.0 works with Apache 1.3, but with Apache 2.0 it does not even
compile :-(

Seen Install.pod for where to get the ppm for Apache 1.3

Gerald


> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message