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
perl-Locale-Maketext-Simple.changes 0000000382 382 Bytes
perl-Locale-Maketext-Simple.spec 0000002413 2.36 KB
Comments 0
openSUSE Build Service is sponsored by