Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PGetText(3)	      User Contributed Perl Documentation	   PGetText(3)

NAME
       PGetText	- pure perl i18n routines

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>

perl v5.32.1			  1999-02-20			   PGetText(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Locale::PGetText&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help