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
-
7
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-gettext && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
gettext-1.05.tar.bz2 | 0000007446 7.27 KB | |
perl-gettext-1.05-POSIX.diff | 0000000121 121 Bytes | |
perl-gettext.changes | 0000002624 2.56 KB | |
perl-gettext.spec | 0000001934 1.89 KB |
Revision 14 (latest revision is 26)
11.4 source split
Comments 0