[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616678: ITP: liblocale-maketext-simple-perl -- simple interface to Locale::Maketext::Lexicon

Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : liblocale-maketext-simple-perl
  Version         : 0.21
  Upstream Author : Audrey Tang <cpan AT audreyt DOT org>
* URL             : http://search.cpan.org/dist/Locale-Maketext-Simple/
* License         : MIT
  Programming Lang: Perl
  Description     : simple interface to Locale::Maketext::Lexicon

Locale::Maketext::Simple is a simple wrapper around
Locale::Maketext::Lexicon, designed to alleviate the need of creating
Language Classes for module authors.

The language used is chosen from the loc_lang call. If a lookup is not
possible, the i-default language will be used. If the lookup is not in the
i-default language, then the key will be returned.

If Locale::Maketext::Lexicon is not present, it implements a minimal
localization function by simply interpolating [_1] with the first argument,
[_2] with the second, etc. Interpolated function like [quant,_1] are treated
as [_1], with the sole exception of [tense,_1,X], which will append ing to _1
when X is present, or appending ed to <_1> otherwise.

Please note that Locale::Maketext::Simple is also in perl core. You need to
install this package only if you need a newer version than what currently is
in perl-modules.

Reply to: