On 01-11-03 01:51:08 CET, Robert Joop wrote:
> 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 :-)

just in case you haven't got mutt installed (hard to imagine), here's
the same again in libc flavor:

..> perl t1
Aborted
..> perl t2
Abgebrochen

please run them and report.

rj
#!/usr/bin/perl

use Locale::gettext;
use POSIX;

setlocale(LC_MESSAGES, "de");

textdomain ('libc');

print gettext ("Aborted"), "\n";
#!/usr/bin/perl

use Locale::gettext;

$ENV{LC_MESSAGES} = 'de';

textdomain ('libc');

print gettext ("Aborted"), "\n";

Reply via email to