Locale-Maketext

Locale::Maketext(3p) Perl Programmers Reference Guide Locale::Maketext(3p)

Locale-Maketext

Locale::Maketext(3p) Perl Programmers Reference Guide Locale::Maketext(3p) # Locale::Maketext(3p) Perl Programmers Reference Guide Locale::Maketext(3p) NNAAMMEE # Locale::Maketext - framework for localization SSYYNNOOPPSSIISS # package MyProgram; use strict; use MyProgram::L10N; # ...which inherits from Locale::Maketext my $lh = MyProgram::L10N->get_handle() || die "What language?"; ... # And then any messages your program emits, like: warn $lh->maketext( "Can't open file [_1]: [_2]\n", $f, $! ); ... DDEESSCCRRIIPPTTIIOONN # It is a common feature of applications (whether run directly, or via the Web) for them to be "localized" -- i. ...