Locale::Maketext::Fuzzy 0.02
Sponsored Links
Locale::Maketext::Fuzzy 0.02 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
822
Date added:
2007-07-28
Publisher:
Autrijus Tang
Locale::Maketext::Fuzzy 0.02 description
Locale::Maketext::Fuzzy is a Perl module for Maketext from already interpolated strings.
SYNOPSIS
package MyApp::L10N;
use base Locale::Maketext::Fuzzy; # instead of Locale::Maketext
package MyApp::L10N::de;
use base MyApp::L10N;
our %Lexicon = (
# Exact match should always be preferred if possible
"0 camels were released."
=> "Exact match",
# Fuzzy match candidate
"[quant,_1,camel was,camels were] released."
=> "[quant,_1,Kamel wurde,Kamele wurden] freigegeben.",
# This could also match fuzzily, but is less preferred
"[_2] released[_1]"
=> "[_1][_2] ist frei[_1]",
);
package main;
my $lh = MyApp::L10N->get_handle(de);
# All ->maketext calls below will become ->maketext_fuzzy instead
$lh->override_maketext(1);
# This prints "Exact match"
print $lh->maketext(0 camels were released.);
# "1 Kamel wurde freigegeben." -- quant() gets 1
print $lh->maketext(1 camel was released.);
# "2 Kamele wurden freigegeben." -- quant() gets 2
print $lh->maketext(2 camels were released.);
# "3 Kamele wurden freigegeben." -- parameters are ignored
print $lh->maketext(3 released.);
# "4 Kamele wurden freigegeben." -- normal usage
print $lh->maketext([*,_1,camel was,camels were] released., 4);
# "!Perl ist frei!" -- matches the broader one
# Note that the sequence ([_2] before [_1]) is preserved
print $lh->maketext(Perl released!);
SYNOPSIS
package MyApp::L10N;
use base Locale::Maketext::Fuzzy; # instead of Locale::Maketext
package MyApp::L10N::de;
use base MyApp::L10N;
our %Lexicon = (
# Exact match should always be preferred if possible
"0 camels were released."
=> "Exact match",
# Fuzzy match candidate
"[quant,_1,camel was,camels were] released."
=> "[quant,_1,Kamel wurde,Kamele wurden] freigegeben.",
# This could also match fuzzily, but is less preferred
"[_2] released[_1]"
=> "[_1][_2] ist frei[_1]",
);
package main;
my $lh = MyApp::L10N->get_handle(de);
# All ->maketext calls below will become ->maketext_fuzzy instead
$lh->override_maketext(1);
# This prints "Exact match"
print $lh->maketext(0 camels were released.);
# "1 Kamel wurde freigegeben." -- quant() gets 1
print $lh->maketext(1 camel was released.);
# "2 Kamele wurden freigegeben." -- quant() gets 2
print $lh->maketext(2 camels were released.);
# "3 Kamele wurden freigegeben." -- parameters are ignored
print $lh->maketext(3 released.);
# "4 Kamele wurden freigegeben." -- normal usage
print $lh->maketext([*,_1,camel was,camels were] released., 4);
# "!Perl ist frei!" -- matches the broader one
# Note that the sequence ([_2] before [_1]) is preserved
print $lh->maketext(Perl released!);
Locale::Maketext::Fuzzy 0.02 Screenshot
Advertisements
Locale::Maketext::Fuzzy 0.02 Keywords
MyApp
Fuzzy 0.02
Perl module
Maketext
released
1
2
print
Perl
Locale::Maketext::Fuzzy
LocaleMaketextFuzzy
Locale::Maketext::Fuzzy 0.02
Libraries
Programming
Bookmark Locale::Maketext::Fuzzy 0.02
Locale::Maketext::Fuzzy 0.02 Copyright
WareSeeker periodically updates pricing and software information of Locale::Maketext::Fuzzy 0.02 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::Fuzzy 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
released from prison
commemorative quarter released may 26
make text
released from jail
released taks test
maketextpanel
released inmates
new released movies
released lion reunion
when will twilight be released on dvd
perl modules
released sdaa
maketextbooksaffordable
newly released dvds
released taks
released taks exams
taks released tests
released cd
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::Extract::Run is a Perl module interface to xgettext.pl. Free Download
Locale::Maketext::Simple is a simple interface to Locale::Maketext::Lexicon. Free Download
Locale::Maketext::Lexicon::Tie is a Perl module to use tied hashes as lexicons for Maketext. Free Download
Locale::KeyedText is a Perl module that refer to user messages in programs by keys. 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
Latest Software
Popular Software
Favourite Software