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