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.
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 dcgettext() 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.
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'
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
7
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/perl-gettext && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
cpanspec.yml | 0000000547 547 Bytes | |
gettext-1.07.tar.gz | 0000008651 8.45 KB | |
perl-gettext.changes | 0000004032 3.94 KB | |
perl-gettext.spec | 0000004364 4.26 KB |
Latest Revision
- Run testsuite with locale LANG=en_US.UTF. It fails otherwise with glibc 2.39 (forwarded request 1143717 from anag+factory)
Comments 0