logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       •   Clinton Gormley <drtech@cpan.org>

       •   Audrey Tang <cpan@audreyt.org>

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.

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.

Name

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

See Also

       Locale::Maketext, Locale::Maketext::Lexicon

Synopsis

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

Version

       version 1.00

See Also