Locale::MakePhrase

Locale::MakePhrase module contains a language translation facility.
Download

Locale::MakePhrase Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Brendon Oliver and John Griffin
  • Publisher web site:
  • http://search.cpan.org/~mathew/Locale-MakePhrase-0.5/lib/Locale/MakePhrase.pm

Locale::MakePhrase Tags


Locale::MakePhrase Description

Locale::MakePhrase module contains a language translation facility. Locale::MakePhrase module contains a language translation facility.SYNOPSISThese group of modules are used to translate application text strings, which may or may not include values which also need to be translated, into the prefered language of the end-user.Example: use Locale::MakePhrase::BackingStore::Directory; use Locale::MakePhrase; my $bs = new Locale::MakePhrase::BackingStore::Directory( directory => '/some/path/to/language/files', ); my $mp = new Locale::MakePhrase( language => 'en_AU', backing_store => $bs, ); ... my $color_count = 1; print $mp->translate("Please select colors.",$color_count);Output: Please select a colour.Notice that a) the word 'color' has been localised to Australian English, and b) that the argument has influenced the resultant output text to take into account the display of the singular version. Requirements: · Perl


Locale::MakePhrase Related Software