Data::LocalizeAlternate Data Localization API | |
Download |
Data::Localize Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Daisuke Maki
- Publisher web site:
- http://search.cpan.org/~dmaki/
Data::Localize Tags
Data::Localize Description
Alternate Data Localization API Data::Localize is an object oriented approach to localization, aimed to be an alternate choice for Locale::Maketext, Locale::Maketext::Simple, and Locale::Maketext::Lexicon.SYNOPSIS use Data::Localize; my $loc = Data::Localize->new(); $loc->add_localizer( class => "Namespace", # Locale::Maketext-style .pm files namespaces => ); $loc->add_localizer( class => "Gettext", path => "/path/to/localization/data/*.po" ); $loc->set_languages(); # or explicitly set one # $loc->set_languages('en', 'ja' ); # looks under $self->languages, and checks if there are any # localizers that can handle the job $loc->localize( 'Hellow, !', 'John Doe' ); # You can enable "auto", which will be your last resort fallback. # The key you give to the localize method will be used as the lexicon $self->auto(1); Requirements: · Perl
Data::Localize Related Software