Locale::gettext_pp - Online Linux Manual PageSection : 3
Updated : 2022-01-21
Source : perl v5.34.0
Note : User Contributed Perl Documentation

NAMELocale::gettext_pp − Pure Perl Implementation of Uniforum Message Translation

SYNOPSIS​ use Locale::gettext_pp qw(: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;

DESCRIPTIONThe module Locale::gettext_pp 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.

FUNCTIONSThe module exports by default nothing. Every function has to be imported explicitely or via an export tag (EXPORT TAGS). gettext MSGID See FUNCTIONS in Locale::Messages. dgettext TEXTDOMAIN, MSGID See FUNCTIONS in Locale::Messages. dcgettext TEXTDOMAIN, MSGID, CATEGORY See FUNCTIONS in Locale::Messages. ngettext MSGID, MSGID_PLURAL, COUNT See FUNCTIONS in Locale::Messages. dngettext TEXTDOMAIN, MSGID, MSGID_PLURAL, COUNT See FUNCTIONS in Locale::Messages. dcngettext TEXTDOMAIN, MSGID, MSGID_PLURAL, COUNT, CATEGORY See FUNCTIONS in Locale::Messages. pgettext MSGCTXT, MSGID See FUNCTIONS in Locale::Messages. dpgettext TEXTDOMAIN, MSGCTXT, MSGID See FUNCTIONS in Locale::Messages. dcpgettext TEXTDOMAIN, MSGCTXT, MSGID, CATEGORY See FUNCTIONS in Locale::Messages. npgettext MSGCTXT, MSGID, MSGID_PLURAL, COUNT See FUNCTIONS in Locale::Messages. dnpgettext TEXTDOMAIN, MSGCTXT, MSGID, MSGID_PLURAL, COUNT See FUNCTIONS in Locale::Messages. dcnpgettext TEXTDOMAIN, MSGCTXT, MSGID, MSGID_PLURAL, COUNT, CATEGORY See FUNCTIONS in Locale::Messages. textdomain TEXTDOMAIN See FUNCTIONS in Locale::Messages. bindtextdomain TEXTDOMAIN, DIRECTORY See FUNCTIONS in Locale::Messages. bind_textdomain_codeset TEXTDOMAIN, ENCODING nl_putenv ENVSPEC See FUNCTIONS in Locale::Messages. setlocale See FUNCTIONS in Locale::Messages.

CONSTANTSYou can (maybe) get the same constants from POSIX(3); see there for a detailed description LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_ALL See CONSTANTS in Locale::Messages for more information.

EXPORT TAGSThis module does not export anything unless explicitely requested. You can import groups of functions via two tags: use Locale::gettext_pp qw(':locale_h') Imports the functions that are normally defined in the C include file locale.h: gettext() dgettext() dcgettext() ngettext() dngettext() dcngettext() pgettext() Introduced with libintl-perl 1.17. dpgettext() Introduced with libintl-perl 1.17. dcpgettext() Introduced with libintl-perl 1.17. npgettext() Introduced with libintl-perl 1.17. dnpgettext() Introduced with libintl-perl 1.17. dcnpgettext() Introduced with libintl-perl 1.17. textdomain() bindtextdomain() bind_textdomain_codeset() use Locale::gettext_pp (':libintl_h') Imports the locale category constants: LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_ALL 

AUTHORCopyright (C) 2002−2017 Guido Flohr <http://www.guido-flohr.net/> (<mailto:guido.flohr@cantanea.com>), all rights reserved. See the source code for details!code for details!

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

POD ERRORSHey! The above document had some coding errors, which are explained below: Around line 1121: =cut found outside a pod block. Skipping to next block.
0
Johanes Gumabo
Data Size   :   28,705 byte
man-Locale::gettext_pp.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 188,594
Visitor ID   :     :  
Visitor IP   :   3.147.6.122   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Locale::gettext_pp.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Locale::gettext_pp.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Locale::gettext_pp.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Locale::gettext_pp.3pm|43|'br══─}─══ |'br══─}─══ )