Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-gettext | Distribution: openSUSE Tumbleweed |
Version: 1.07 | Vendor: openSUSE |
Release: 2.6 | Build date: Fri Feb 2 19:33:22 2024 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 29524 | Source RPM: perl-gettext-1.07-2.6.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://search.cpan.org/dist/gettext/ | |
Summary: Message Handling Functions |
The gettext module permits access from perl to the gettext() family of functions for retrieving message strings from databases constructed to internationalize software. * $d = Locale::gettext->domain(DOMAIN) * $d = Locale::gettext->domain_raw(DOMAIN) Creates a new object for retrieving strings in the domain *DOMAIN* and returns it. 'domain' requests that strings be returned as Perl strings (possibly with wide characters) if possible while 'domain_raw' requests that octet strings directly from functions like 'dgettext()'. * $d->get(MSGID) Calls 'dgettext()' to return the translated string for the given *MSGID*. * $d->cget(MSGID, CATEGORY) Calls 'dcgettext()' to return the translated string for the given *MSGID* in the given *CATEGORY*. * $d->nget(MSGID, MSGID_PLURAL, N) Calls 'dngettext()' to return the translated string for the given *MSGID* or *MSGID_PLURAL* depending on *N*. * $d->ncget(MSGID, MSGID_PLURAL, N, CATEGORY) Calls 'dngettext()' to return the translated string for the given *MSGID* or *MSGID_PLURAL* depending on *N* in the given *CATEGORY*. * $d->dir([NEWDIR]) If *NEWDIR* is given, calls 'bindtextdomain' to set the name of the directory where messages for the domain represented by '$d' are found. Returns the (possibly changed) current directory name. * $d->codeset([NEWCODE]) For instances created with 'Locale::gettext->domain_raw', manuiplates the character set of the returned strings. If *NEWCODE* is given, calls 'bind_textdomain_codeset' to set the character encoding in which messages for the domain represented by '$d' are returned. Returns the (possibly changed) current encoding name. gettext(), dgettext(), and dcgettext() attempt to retrieve a string matching their 'msgid' parameter within the context of the current locale. dcgettext() takes the message's category and the text domain as parameters while dgettext() defaults to the LC_MESSAGES category and gettext() defaults to LC_MESSAGES and uses the current text domain. If the string is not found in the database, then 'msgid' is returned. ngettext(), dngettext(), and dcngettext() function similarily but implement differentiation of messages between singular and plural. See the documentation for the corresponding C functions for details. textdomain() sets the current text domain and returns the previously active domain. _bindtextdomain(domain, dirname)_ instructs the retrieval functions to look for the databases belonging to domain 'domain' in the directory 'dirname' _bind_textdomain_codeset(domain, codeset)_ instructs the retrieval functions to translate the returned messages to the character encoding given by *codeset* if the encoding of the message catalog is known.
Artistic-1.0 OR GPL-1.0-or-later
* Fri Feb 02 2024 Ana Guerrero <[email protected]> - Run testsuite with locale LANG=en_US.UTF. It fails otherwise with glibc 2.39 * Sat Jun 25 2016 [email protected] - update to 1.07 Fix test failures caused by $LANGUAGE being set - remove perl-gettext-1.05-POSIX.diff * Mon Sep 21 2015 [email protected] - updated to 1.06 Bugfix: #104667 Makefile.PL libaries need to be listed after .o files Bugfix: #104668 ensure availability of locale API, correct typo in documentation Add META.yml (Fixes #91921) * Wed Feb 27 2013 [email protected] - update license to new format * Thu Nov 17 2011 [email protected] - use original tar * Mon Apr 11 2011 [email protected] - recreated by cpanspec 1.78.03 - removed old Obsoletes/Provides perl_gtx * Sun Apr 10 2011 [email protected] - USe perl macros to generate filelist * Wed Dec 01 2010 [email protected] - switch to perl_requires macro * Mon Nov 29 2010 [email protected] - remove /var/adm/perl-modules * Sun Dec 06 2009 [email protected] - enable parallel building
/usr/lib/perl5/vendor_perl/5.40.0/armv6l-linux-thread-multi-64int/Locale /usr/lib/perl5/vendor_perl/5.40.0/armv6l-linux-thread-multi-64int/Locale/gettext.pm /usr/lib/perl5/vendor_perl/5.40.0/armv6l-linux-thread-multi-64int/auto/Locale /usr/lib/perl5/vendor_perl/5.40.0/armv6l-linux-thread-multi-64int/auto/Locale/gettext /usr/lib/perl5/vendor_perl/5.40.0/armv6l-linux-thread-multi-64int/auto/Locale/gettext/gettext.so /usr/share/doc/packages/perl-gettext /usr/share/doc/packages/perl-gettext/README /usr/share/man/man3/Locale::gettext.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Feb 21 02:22:00 2025