Main > Programming > Libraries >

Locale::Maketext::Simple 0.18

Locale::Maketext::Simple 0.18

Sponsored Links

Locale::Maketext::Simple 0.18 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.016 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 987
Date added: 2007-02-09
Publisher: Audrey Tang

Locale::Maketext::Simple 0.18 description

Locale::Maketext::Simple is a simple interface to Locale::Maketext::Lexicon.

SYNOPSIS

Minimal setup (looks for auto/Foo/*.po and auto/Foo/*.mo):

package Foo;
use Locale::Maketext::Simple; # exports loc
loc_lang(fr); # set language to French
sub hello {
print loc("Hello, [_1]!", "World");
}
More sophisticated example:

package Foo::Bar;
use Locale::Maketext::Simple (
Class => Foo, # search in auto/Foo/
Style => gettext, # %1 instead of [_1]
Export => maketext, # maketext() instead of loc()
Subclass => L10N, # Foo::L10N instead of Foo::I18N
Decode => 1, # decode entries to unicode-strings
Encoding => locale, # but encode lexicons in current locale
# (needs Locale::Maketext::Lexicon 0.36)
);
sub japh {
print maketext("Just another %1 hacker", "Perl");
}

This module is a simple wrapper around Locale::Maketext::Lexicon, designed to alleviate the need of creating Language Classes for module authors.
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.

Locale::Maketext::Simple 0.18 Screenshot

Advertisements

Locale::Maketext::Simple 0.18 Keywords

Bookmark Locale::Maketext::Simple 0.18

Hyperlink code:
Link for forum:

Locale::Maketext::Simple 0.18 Copyright

WareSeeker periodically updates pricing and software information of Locale::Maketext::Simple 0.18 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Locale::Maketext::Simple 0.18 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Locale::Maketext::Lexicon is a Perl module to use other catalog formats in Maketext. Free Download
Locale::Maketext::Extract is a Perl module used to extract translatable strings from source. Free Download
Locale::Maketext::Lexicon::Tie is a Perl module to use tied hashes as lexicons for Maketext. Free Download
Locale::Maketext::Fuzzy is a Perl module for Maketext from already interpolated strings. Free Download
Locale::Maketext::Extract::Run is a Perl module interface to xgettext.pl. Free Download
Locale::Maketext::Lexicon::Msgcat is a Msgcat catalog parser Maketext. Free Download
Locale::Maketext::Lexicon::Gettext is a Perl module for PO and MO file parser for Maketext. Free Download
Locale::TextDomain is a Perl Interface to Uniforum Message Translation. Free Download