MooX::Locale::Passthrough(3pm)

MooX::Locale::Passthrough3pm

Provide api used in translator modules without translating

Usage

  { package WonderBar;
    use Moo;
    with "MooX::Locale::Passthrough";
    sub tell_me { my $self = shift; $self->__("Hello world"); }
  }
  WonderBar->new->tell_me;

Overview

"MooX::Locale::Passthrough" is made to allow CPAN modules use translator API without adding heavy dependencies (external software) or requirements (operating resulting solution).

This software is released together with MooX::Locale::TextDomain::OO, which allowes then to plugin any desired translation.

Methods

__ msgid

returns MSGID

__n MSGID, MSGID_PLURAL, COUNT

returns MSGID when count is equal 1, MSGID_PLURAL otherwise

__p MSGCTX, MSGID

returns MSGID

Support

You can find documentation for this module with the perldoc command.

    perldoc MooX::Locale::Passthrough

You can also look for information at:

•

RT: CPAN's request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Locale-Passthrough>

•

AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/MooX-Locale-Passthrough>

•

CPAN Ratings

<http://cpanratings.perl.org/m/MooX-Locale-Passthrough>

•

Search CPAN

<http://search.cpan.org/dist/MooX-Locale-Passthrough/>

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13

Author

Jens Rehsack, "<rehsack at cpan.org>"

Bugs

Please report any bugs or feature requests to "bug-MooX-Locale-Passthrough at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-Locale-Passthrough>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

From libmoox-locale-passthrough-perl 0.001-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.