SYNOPSIS

 # using a MO table efficiently
 my $mot = Log::Report::Lexicon::MOTcompact
             ->read('mo/nl.mo', charset => 'utf-8')
    or die;

 my $header = $pot->msgid('');
 print $mot->msgstr($msgid, 3);

See SYNOPSIS in Log::Report::Lexicon::Table

DESCRIPTION

This module is translating, based on MO files (binary versions of the PO files, the "Machine Object" format)

Internally, this module tries to be as efficient as possible: high speed and low memory foot-print. You will not be able to sub-class this class cleanly.

To get a MO file, you first need a PO file. Then run msgfmt, which is part of the gnu gettext package.

   msgfmt -cv -o $domain.mo $domain.po

   # -c = --check-format & --check-header & --check-domain
   # -v = --verbose
   # -o = --output-file

See DESCRIPTION in Log::Report::Lexicon::Table