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::GETTEXT_PP (3)

.ds Aq ’

NAME

Locale::gettext_pp - Pure Perl Implementation of Uniforum Message Translation

CONTENTS

SYNOPSIS



 use Locale::gettext_pp (:locale_h :libintl_h);

 gettext $msgid;
 dgettext $domainname, $msgid;
 dcgettext $domainname, $msgid, LC_MESSAGES;
 ngettext $msgid, $msgid_plural, $count;
 dngettext $domainname, $msgid, $msgid_plural, $count;
 dcngettext $domainname, $msgid, $msgid_plural, $count, LC_MESSAGES;
 pgettext $msgctxt, $msgid;
 dpgettext $domainname, $msgctxt, $msgid;
 dcpgettext $domainname, $msgctxt, $msgid, LC_MESSAGES;
 npgettext $msgctxt, $msgid, $msgid_plural, $count;
 dnpgettext $domainname, $msgctxt, $msgid, $msgid_plural, $count;
 dcnpgettext $domainname, $msgctxt, $msgid, $msgid_plural, $count, LC_MESSAGES;
 textdomain $domainname;
 bindtextdomain $domainname, $directory;
 bind_textdomain_codeset $domainname, $encoding;
 my $category = LC_CTYPE;
 my $category = LC_NUMERIC;
 my $category = LC_TIME;
 my $category = LC_COLLATE;
 my $category = LC_MONETARY;
 my $category = LC_MESSAGES;
 my $category = LC_ALL;



DESCRIPTION

The module <B>Locale::gettext_ppB> is the low-level interface to message translation according to the Uniforum approach that is for example used in GNU gettext and Sun’s Solaris.

Normally you should not use this module directly, but the high level interface Locale::TextDomain(3) that provides a much simpler interface. This description is therefore deliberately kept brief. Please refer to the GNU gettext documentation available at <http://www.gnu.org/manual/gettext/> for in-depth and background information on the topic.

FUNCTIONS

The module exports by default nothing. Every function has to be imported explicitely or via an export tag (EXPORT TAGS).
<B>gettext MSGIDB> See FUNCTIONS in Locale::Messages.
<B>dgettext TEXTDOMAIN, MSGIDB> See FUNCTIONS in Locale::Messages.
<B>dcgettext TEXTDOMAIN, MSGID, CATEGORYB> See FUNCTIONS in Locale::Messages.
<B>ngettext MSGID, MSGID_PLURAL, COUNTB> See FUNCTIONS in Locale::Messages.
<B>dngettext TEXTDOMAIN, MSGID, MSGID_PLURAL, COUNTB> See FUNCTIONS in Locale::Messages.
<B>dcngettext TEXTDOMAIN, MSGID, MSGID_PLURAL, COUNT, CATEGORYB> See FUNCTIONS in Locale::Messages.
<B>pgettext MSGCTXT, MSGIDB> See FUNCTIONS in Locale::Messages.
<B>dpgettext TEXTDOMAIN, MSGCTXT, MSGIDB> See FUNCTIONS in Locale::Messages.
<B>dcpgettext TEXTDOMAIN, MSGCTXT, MSGID, CATEGORYB> See FUNCTIONS in Locale::Messages.
<B>npgettext MSGCTXT, MSGID, MSGID_PLURAL, COUNTB> See FUNCTIONS in Locale::Messages.
<B>dnpgettext TEXTDOMAIN, MSGCTXT, MSGID, MSGID_PLURAL, COUNTB> See FUNCTIONS in Locale::Messages.
<B>dcnpgettext TEXTDOMAIN, MSGCTXT, MSGID, MSGID_PLURAL, COUNT, CATEGORYB> See FUNCTIONS in Locale::Messages.
<B>textdomain TEXTDOMAINB> See FUNCTIONS in Locale::Messages.
<B>bindtextdomain TEXTDOMAIN, DIRECTORYB> See FUNCTIONS in Locale::Messages.
<B>bind_textdomain_codeset TEXTDOMAIN, ENCODINGB>
<B>nl_putenv ENVSPECB> See FUNCTIONS in Locale::Messages.
<B>setlocaleB> See FUNCTIONS in Locale::Messages.

CONSTANTS

You can (maybe) get the same constants from POSIX(3); see there for a detailed description
<B>LC_CTYPEB>
<B>LC_NUMERICB>
<B>LC_TIMEB>
<B>LC_COLLATEB>
<B>LC_MONETARYB>
<B>LC_MESSAGESB>
<B>LC_ALLB> See CONSTANTS in Locale::Messages for more information.

EXPORT TAGS

This module does not export anything unless explicitely requested. You can import groups of functions via two tags:
<B>use Locale::gettext_pp (’:locale_h’)B> Imports the functions that are normally defined in the C include file locale.h:
<B>B>gettext()<B>B>
<B>B>dgettext()<B>B>
<B>B>dcgettext()<B>B>
<B>B>ngettext()<B>B>
<B>B>dngettext()<B>B>
<B>B>dcngettext()<B>B>
<B>B>pgettext()<B>B> Introduced with libintl-perl 1.17.
<B>B>dpgettext()<B>B> Introduced with libintl-perl 1.17.
<B>B>dcpgettext()<B>B> Introduced with libintl-perl 1.17.
<B>B>npgettext()<B>B> Introduced with libintl-perl 1.17.
<B>B>dnpgettext()<B>B> Introduced with libintl-perl 1.17.
<B>B>dcnpgettext()<B>B> Introduced with libintl-perl 1.17.
<B>B>textdomain()<B>B>
<B>B>bindtextdomain()<B>B>
<B>B>bind_textdomain_codeset()<B>B>
<B>use Locale::gettext_pp (’:libintl_h’)B> Imports the locale category constants:
<B>LC_CTYPEB>
<B>LC_NUMERICB>
<B>LC_TIMEB>
<B>LC_COLLATEB>
<B>LC_MONETARYB>
<B>LC_MESSAGESB>
<B>LC_ALLB>

AUTHOR

Copyright (C) 2002-2015, Guido Flohr <guido.flohr@cantanea.com>, all rights reserved. See the source code for details.

SEE ALSO

Locale::TextDomain(3pm), Locale::Messages(3pm), Encode(3pm), perllocale(3pm), POSIX(3pm), perl(1), gettext(1), gettext(3)

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 1091: =cut found outside a pod block. Skipping to next block.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 LOCALE::GETTEXT_PP (3) 2015-04-03

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