DGETTEXT(3) 1 DGETTEXT(3)dgettext - Override the current domainSYNOPSIS
string dgettext (string $domain, string $message)
DESCRIPTION
The dgettext(3) function allows you to override the current $domain for a single message lookup.
PARAMETERS
o $domain
- The domain
o $message
- The message
RETURN VALUES
A string on success.
SEE ALSO gettext(3).
PHP Documentation Group DGETTEXT(3)
Check Out this Related Man Page
TEXTDOMAIN(3) Library Functions Manual TEXTDOMAIN(3)NAME
textdomain - set domain for future gettext() calls
SYNOPSIS
#include <libintl.h>
char * textdomain (const char * domainname);
DESCRIPTION
The textdomain function sets or retrieves the current message domain.
A message domain is a set of translatable msgid messages. Usually, every software package has its own message domain. The domain name is
used to determine the message catalog where a translation is looked up; it must be a non-empty string.
The current message domain is used by the gettext, ngettext functions, and by the dgettext, dcgettext, dngettext and dcngettext functions
when called with a NULL domainname argument.
If domainname is not NULL, the current message domain is set to domainname. The string the function stores internally is a copy of the
domainname argument.
If domainname is NULL, the function returns the current message domain.
RETURN VALUE
If successful, the textdomain function returns the current message domain, after possibly changing it. The resulting string is valid until
the next textdomain call and must not be modified or freed. If a memory allocation failure occurs, it sets errno to ENOMEM and returns
NULL.
ERRORS
The following error can occur, among others:
ENOMEM Not enough memory available.
BUGS
The return type ought to be const char *, but is char * to avoid warnings in C code predating ANSI C.
SEE ALSO gettext(3), ngettext(3), bindtextdomain(3), bind_textdomain_codeset(3)GNU gettext 0.18.1 May 2001 TEXTDOMAIN(3)
Anyone out there successfully compile mutt 1.5 on AIX 5.3?
I get an error on 'make install' but can't sort out what the issue is:
# make install
./gen_defs ./OPS ./OPS.PGP ./OPS.SMIME ./OPS.CRYPT > keymap_defs.h
./patchlist.sh < ./PATCHES > patchlist.c
echo... (0 Replies)
I am running the following commands but only the second part executes. I can't get the file to exit if the first statement is true, anyone have an idea? I know it's not UNIX but this is the best crowd for knowledge in all fields...
Sub Querysave(Source As Notesuidocument, Continue As Variant)... (0 Replies)
Hi,
Anybody know configuration/installation of orcalator (sic, orcallater) on unix environment?
Please share any document on orcalator.
If you have any procedure for orcalator please send me.
Already i read orcaware configuration.but it is not configuring.
Please do needful.It is very... (11 Replies)
Hi,
I am installing bison-2.4.3 on AIX.
I am facing the below error.
Could not load program gawk:
Symbol resolution failed for gawk because:
Symbol __pthread (number 159) is not exported from dependent module /usr/lib/libpthreads.a(shr_xpg5.o).
Symbol libintl_bindtextdomain (number... (5 Replies)
:wall:i want to create a user in solaris whose password expires after every 30 minutes and he has to change his password after evry thirty minutes.How can we do that?:confused:
thanx and regards,
shekhar (17 Replies)
root@test8:/config1>oslevel -s
5300-01-00-0000
root@test8:/config1>oslevel -r
5300-01
while moving a file sized 9GB i got this message
root@test8:/configapp>mv bkp_14JUN16_oraapp_2.tgz /oraapp
bkp_14JUN16_oraapp_2.tgz: Value too large to be stored in data type.
possibly need APAR... (2 Replies)
Hello Everyone,
root@test8:/>gunzip < /configapp/bkp_14JUN16_oraapp.tgz | /opt/freeware/bin/tar x>
exec(): 0509-036 Cannot load program /opt/freeware/bin/tar because of the following errors:
0509-130 Symbol resolution failed for tar because:
0509-136 Symbol... (2 Replies)