# internal use my $msg = Log::Report::Message->new(_msgid => "Hello World\n" , _domain => 'my-domain'); print Log::Report::Translator::POT->new(lexicon => ...) ->translate('nl-BE', $msg); # normal use (end-users view) use Log::Report 'my-domain' , translator => Log::Report::Translator::POT->new; print __"Hello World\n";
See SYNOPSIS in Log::Report::Translator
Translate a message by directly accessing POT files. The files will load lazily (unless forced). To module attempts to administer the PO's in a compact way, much more compact than Log::Report::Lexicon::PO does.