1Locale::TextDomain::OO:U:sTerranCsolnattroirb(u3t)ed PerLlocDaolceu:m:eTnetxattDioomnain::OO::Translator(3)
2
3
4
6 Locale::TextDomain::OO::Translator - Translator class
7
8 $Id: Translator.pm 724 2018-12-24 11:50:32Z steffenw $
9
10 $HeadURL:
11 svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO/Translator.pm
12 $
13
15 1.035
16
18 This is the translator class. Extend that class with plugins (Roles).
19
21 require Locale::TextDomain::OO::Translator;
22 Locale::TextDomain::OO::Translator->new(
23 Locale::TextDomain::OO::Translator->load_plugins,
24 );
25
27 method new
28 see SYNOPSIS
29
30 class method load_plugins
31 Called before new to load the plugins.
32
33 $hash_ref = Locale::TextDomain::OO::Translator->load_plugins;
34
35 method translate
36 Called from Plugins only.
37
38 $translation = $self->translate(... lots of parameters ...);
39
40 method run_filter
41 Called from plugins only.
42
43 $self->run_filter(\$translation);
44
46 Inside of this distribution is a directory named example. Read the
47 file README there. Then run the *.pl files.
48
50 confess
51
53 none
54
56 Carp
57
58 Class::Load
59
60 Locale::TextDomain::OO::Singleton::Lexicon
61
62 Locale::TextDomain::OO::Util::JoinSplitLexiconKeys
63
64 Moo
65
66 MooX::StrictConstructor
67
68 MooX::Types::MooseLike::Base
69
70 namespace::autoclean
71
72 Locale::TextDomain::OO::Role::Logger
73
75 not known
76
78 not known
79
81 Steffen Winkler
82
84 Copyright (c) 2013 - 2018, Steffen Winkler "<steffenw at cpan.org>".
85 All rights reserved.
86
87 This module is free software; you can redistribute it and/or modify it
88 under the same terms as Perl itself.
89
90
91
92perl v5.30.1 2020-01-L3o0cale::TextDomain::OO::Translator(3)