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 Locale::Maketext for how to prevent it.
SEE ALSO
Locale::Maketext, Locale::Maketext::Lexicon
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.