On 01-11-02 11:47:02 CET, Robert Joop wrote: > i'll have a look at how to do it from perl CGI.
i got first tests to work. but Locale::gettext doesn't work as advertised. can you run the attached two scripts, please, and tell me the outputs? i get: ..> perl t1 clear a status flag from a message ..> perl t2 Entferne einen Status-Indikator t1 is like in the man page, but doesn't work, t2 is a workaround that does the job. do you get the same results? (the example assumes that you've got mutt installed :-) rj
#!/usr/bin/perl use Locale::gettext; use POSIX; setlocale(LC_MESSAGES, "de"); textdomain ('mutt'); print gettext ("clear a status flag from a message"), "\n";
#!/usr/bin/perl use Locale::gettext; $ENV{LC_MESSAGES} = 'de'; textdomain ('mutt'); print gettext ("clear a status flag from a message"), "\n";