Simple interface to Locale::Maketext::Lexicon
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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Locale-Maketext-Simple && cd $_
- Create Badge
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 |
Comments 0