Locale::TextDomain::OO::Translator - Translator class
$Id: Translator.pm 472 2014-01-21 16:37:44Z steffenw $
$HeadURL: svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO/Translator.pm $
1.008
This is the translator class. Extend that class with plugins (Roles).
require Locale::TextDomain::OO::Translator; Locale::TextDomain::OO::Translator->new( Locale::TextDomain::OO::Translator->load_plugins, );
Called before new to load the plugins.
$hash_ref = Locale::TextDomain::OO::Translator->load_plugins;
Called from Plugins only.
$translation = $self->translate(... lots of parameters ...);
Called from plugins only.
$self->run_filter(\$translation);
Inside of this distribution is a directory named example. Read the file README there. Then run the *.pl files.
confess
none
Moo
MooX::StrictConstructor
MooX::Types::MooseLike::Base
Carp
Locale::TextDomain::OO::Singleton::Lexicon
namespace::autoclean
not known
Steffen Winkler
Copyright (c) 2013 - 2014, Steffen Winkler <steffenw at cpan.org>. All rights reserved.
<steffenw at cpan.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Locale::TextDomain::OO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locale::TextDomain::OO
CPAN shell
perl -MCPAN -e shell install Locale::TextDomain::OO
For more information on module installation, please visit the detailed CPAN module installation guide.