Simple interface to Locale::Maketext::Lexicon

Edit Package perl-Locale-Maketext-Simple
http://search.cpan.org/dist/Locale-Maketext-Simple/

This module 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.

Refresh
Refresh
Source Files
Filename Size Changed
Locale-Maketext-Simple-0.21.tar.gz 0000009223 9.01 KB
cpanspec.yml 0000000971 971 Bytes
perl-Locale-Maketext-Simple.changes 0000000382 382 Bytes
perl-Locale-Maketext-Simple.spec 0000002486 2.43 KB
Latest Revision
Tina Müller's avatar Tina Müller (tinita) committed (revision 3)
Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details
Comments 0
openSUSE Build Service is sponsored by