1Locale::Maketext::ExtraUcste:r:PCloungtirni:bL:uoGtceeandleerP:ie:crM(la3k)Deotceuxmte:n:tEaxttiroanct::Plugin::Generic(3)
2
3
4
6 Locale::Maketext::Extract::Plugin::Generic - Generic template parser
7
9 $plugin = Locale::Maketext::Extract::Plugin::Generic->new(
10 $lexicon # A Locale::Maketext::Extract object
11 @file_types # Optionally specify a list of recognised file types
12 )
13
14 $plugin->extract($filename,$filecontents);
15
17 Extracts strings to localise from generic templates.
18
20 generic
21
23 Strings inside {{...}} are extracted.
24
26 All file types
27
29 xgettext.pl
30 for extracting translatable strings from common template systems
31 and perl source files.
32
33 Locale::Maketext::Lexicon
34 Locale::Maketext::Extract::Plugin::Base
35 Locale::Maketext::Extract::Plugin::FormFu
36 Locale::Maketext::Extract::Plugin::Perl
37 Locale::Maketext::Extract::Plugin::TT2
38 Locale::Maketext::Extract::Plugin::YAML
39 Locale::Maketext::Extract::Plugin::Mason
40 Locale::Maketext::Extract::Plugin::TextTemplate
41
43 Audrey Tang <cpan@audreyt.org>
44
46 Copyright 2002-2008 by Audrey Tang <cpan@audreyt.org>.
47
48 This software is released under the MIT license cited below.
49
50 The "MIT" License
51 Permission is hereby granted, free of charge, to any person obtaining a
52 copy of this software and associated documentation files (the
53 "Software"), to deal in the Software without restriction, including
54 without limitation the rights to use, copy, modify, merge, publish,
55 distribute, sublicense, and/or sell copies of the Software, and to
56 permit persons to whom the Software is furnished to do so, subject to
57 the following conditions:
58
59 The above copyright notice and this permission notice shall be included
60 in all copies or substantial portions of the Software.
61
62 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
63 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
64 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
65 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
66 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
67 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
68 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
69
70
71
72perl v5.12.2 L2o0c1a0l-e0:8:-M1a0ketext::Extract::Plugin::Generic(3)