Hi all,

(I hope you are enjoying the corona apocalypse.)

Regarding internationalization, how does gettext know which language it is
supposed to return in the following example.

https://metacpan.org/pod/distribution/Embperl/Embperl.pod

# Code ref works too...
@{$r -> messages} = (\&ecos::I18L::translate::gettext) ;

# and gettext is defined as
sub gettext
    {
    my ($key) = @_ ;

    return "translated text" ;
    }

Thanks,
Jim

Reply via email to