1Locale::Maketext::LexicUosne:r:ACuotnot(r3i)buted Perl DLooccuamleen:t:aMtaikoentext::Lexicon::Auto(3)
2
3
4
6 Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext
7
9 version 1.00
10
12 package Hello::I18N;
13 use base 'Locale::Maketext';
14 use Locale::Maketext::Lexicon {
15 en => ['Auto'],
16 # ... other languages
17 };
18
20 This module builds a simple Lexicon hash that contains nothing but "(
21 '_AUTO' => 1)", which tells "Locale::Maketext" that no localizing is
22 needed -- just use the lookup key as the returned string.
23
24 It is especially useful if you're starting to prototype a program, and
25 do not want to deal with the localization files yet.
26
28 If the key to "->maketext" begins with a "_", "Locale::Maketext" will
29 still throw an exception. See "CONTROLLING LOOKUP FAILURE" in
30 Locale::Maketext for how to prevent it.
31
33 Locale::Maketext, Locale::Maketext::Lexicon
34
36 Audrey Tang <cpan@audreyt.org>
37
39 Copyright 2002 - 2013 by Audrey Tang <cpan@audreyt.org>.
40
41 This software is released under the MIT license cited below.
42
43 The "MIT" License
44 Permission is hereby granted, free of charge, to any person obtaining a
45 copy of this software and associated documentation files (the
46 "Software"), to deal in the Software without restriction, including
47 without limitation the rights to use, copy, modify, merge, publish,
48 distribute, sublicense, and/or sell copies of the Software, and to
49 permit persons to whom the Software is furnished to do so, subject to
50 the following conditions:
51
52 The above copyright notice and this permission notice shall be included
53 in all copies or substantial portions of the Software.
54
55 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
56 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
57 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
58 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
59 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
60 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
61 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
62
64 · Clinton Gormley <drtech@cpan.org>
65
66 · Audrey Tang <cpan@audreyt.org>
67
69 This software is Copyright (c) 2014 by Audrey Tang.
70
71 This is free software, licensed under:
72
73 The MIT (X11) License
74
75
76
77perl v5.32.0 2020-07-28Locale::Maketext::Lexicon::Auto(3)