1Locale::Maketext::ExtraUcste:r:PCloungtirni:b:uLFtooecrdamlFPeue:(r:3lM)aDkoectuemxetn:t:aEtxitornact::Plugin::FormFu(3)
2
3
4

NAME

6       Locale::Maketext::Extract::Plugin::FormFu - FormFu format parser
7

VERSION

9       version 1.00
10

SYNOPSIS

12           $plugin = Locale::Maketext::Extract::Plugin::FormFu->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

DESCRIPTION

20       HTML::FormFu uses a config-file to generate forms, with built in
21       support for localizing errors, labels etc.
22

SHORT PLUGIN NAME

24           formfu
25

VALID FORMATS

27       We extract the text after any key which ends in "_loc":
28
29           content_loc: this is the string
30           message_loc: ['Max length [_1]', 10]
31

KNOWN FILE TYPES

33       .yaml
34       .yml
35       .conf
36

REQUIRES

38       YAML
39

NOTES

41       The docs for the YAML module describes it as alpha code. It is not as
42       tolerant of errors as YAML::Syck. However, because it is pure Perl, it
43       is easy to hook into.
44
45       I have seen it enter endless loops, so if xgettext.pl hangs, try
46       running it again with "--verbose --verbose" (twice) enabled, so that
47       you can see if the fault lies with YAML.  If it does, either correct
48       the YAML source file, or use the file_types to exclude that file.
49

SEE ALSO

51       xgettext.pl
52           for extracting translatable strings from common template systems
53           and perl source files.
54
55       YAML
56       HTML::FormFu
57       Locale::Maketext::Lexicon
58       Locale::Maketext::Extract::Plugin::Base
59       Locale::Maketext::Extract::Plugin::Perl
60       Locale::Maketext::Extract::Plugin::TT2
61       Locale::Maketext::Extract::Plugin::YAML
62       Locale::Maketext::Extract::Plugin::Mason
63       Locale::Maketext::Extract::Plugin::TextTemplate
64       Locale::Maketext::Extract::Plugin::Generic
65

AUTHORS

67       Clinton Gormley <clint@traveljury.com>
68
70       Copyright 2002-2013 by Audrey Tang <cpan@audreyt.org>.
71
72       This software is released under the MIT license cited below.
73
74   The "MIT" License
75       Permission is hereby granted, free of charge, to any person obtaining a
76       copy of this software and associated documentation files (the
77       "Software"), to deal in the Software without restriction, including
78       without limitation the rights to use, copy, modify, merge, publish,
79       distribute, sublicense, and/or sell copies of the Software, and to
80       permit persons to whom the Software is furnished to do so, subject to
81       the following conditions:
82
83       The above copyright notice and this permission notice shall be included
84       in all copies or substantial portions of the Software.
85
86       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
87       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
93

AUTHORS

95       ·   Clinton Gormley <drtech@cpan.org>
96
97       ·   Audrey Tang <cpan@audreyt.org>
98
100       This software is Copyright (c) 2014 by Audrey Tang.
101
102       This is free software, licensed under:
103
104         The MIT (X11) License
105
106
107
108perl v5.28.0                      2L0o1c4a-l0e3:-:0M6aketext::Extract::Plugin::FormFu(3)
Impressum