Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext
package Hello::L10N; use base 'Locale::Maketext'; use Locale::Maketext::Lexicon { en => ['Auto'], # ... other languages };
This module builds a simple Lexicon hash that contains nothing but ( '_AUTO' = 1)>, which tells Locale::Maketext that no localizing is needed -- just use the lookup key as the returned string.
( '_AUTO' =
Locale::Maketext
It is especially useful if you're starting to prototype a program, and does not want deal with the localization files yet.
If the key to -maketext> begins with a _, Locale::Maketext will still throw an exception. See <Locale::Maketext/CONTROLLING LOOKUP FAILURE> for how to prevent it.
-
_
Locale::Maketext, Locale::Maketext::Lexicon
Autrijus Tang <autrijus@autrijus.org>
Copyright 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Locale::Maketext::Lexicon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locale::Maketext::Lexicon
CPAN shell
perl -MCPAN -e shell install Locale::Maketext::Lexicon
For more information on module installation, please visit the detailed CPAN module installation guide.