Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext
package Hello::I18N; 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' => 1)
Locale::Maketext
It is especially useful if you're starting to prototype a program, and do not want to deal with the localization files yet.
If the key to ->maketext begins with a _, Locale::Maketext will still throw an exception. See "CONTROLLING LOOKUP FAILURE" in Locale::Maketext for how to prevent it.
->maketext
_
Locale::Maketext, Locale::Maketext::Lexicon
Audrey Tang <autrijus@autrijus.org>
Copyright 2002, 2003, 2004 by Audrey 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.