GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LOCALE::PGETTEXT (3)

.ds Aq ’

NAME

PGetText - pure perl i18n routines

CONTENTS

SYNOPSIS



  use Locale::PGetText;

  Locale::PGetText::setLocaleDir(/usr/local/perl/locale);
  Locale::PGetText::setLanguage(ru-koi8r);
 
  print gettext("Welcome!"), "\n";



DESCRIPTION

PGetText provides the same functionality as GNU gettext does, but it is written in pure perl and doesn’t require any system locale stuff.

setLocaleDir() sets directory where messages database is stored (there are no default and no domains).

setLanguage() switches languages.

gettext() retrieves message in local language corresponding to given message.

SEE ALSO

MsgFormat(1)

AUTHOR

Mike Shoyher <msh@corbina.net>, <msh@apache.lexa.ru>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PGETTEXT (3) 1999-02-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.