Scroll to navigation

Log::Report::Lexicon(3pm) User Contributed Perl Documentation Log::Report::Lexicon(3pm)

NAME

Log::Report::Lexicon - translation component of Log::Report

SYNOPSIS

DESCRIPTION

This module is the main extry point for the distribution, but has currently no further use. This distribution contains all components of Log::Report which handle translations.

If you do not need translations, you do not need to install this module. When you use Log::Report and need to add translations, it may be very little work: when you nicely wrote texts in the advised message format like

   print __x"Greetings to you, {name}", name => $name;
   fault __x"cannot open file {filename}", filename => $fn;

then all is in perfect condition to introduce translations: it requires very little to no additions to the existing code!

In this distribution:

  • Log::Report::Extract

    Logic used by the xgettext-perl binary (also included here) to extract msgid's from perl scripts and (website) templates.

  • Log::Report::Lexicon::Table

    Translation table administration, in PO or MO format.

  • Log::Report::Lexicon::Index

    Translation table file file administration, understanding locales, domains, and attributes in the filenames.

  • Log::Report::Translator

    The run-time component of translations.

METHODS

Constructors

Accessors

SEE ALSO

This module is part of Log-Report-Lexicon distribution version 1.11, built on March 22, 2018. Website: http://perl.overmeer.net/CPAN/

LICENSE

Copyrights 2007-2018 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/

2018-04-16 perl v5.26.1