Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext


NAME

Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext


SYNOPSIS

    package Hello::L10N;
    use base 'Locale::Maketext';
    use Locale::Maketext::Lexicon {
        en => ['Auto'],
        # ... other languages
    };


DESCRIPTION

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.

It is especially useful if you're starting to prototype a program, and do not want to deal with the localization files yet.


CAVEATS

If the key to ->maketext begins with a _, Locale::Maketext will still throw an exception. See CONTROLLING LOOKUP FAILURE in the Locale::Maketext manpage for how to prevent it.


SEE ALSO

the Locale::Maketext manpage, the Locale::Maketext::Lexicon manpage


AUTHORS

Autrijus Tang <autrijus@autrijus.org>


COPYRIGHT

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

 Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext