Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

textdomain(3) [php man page]

TEXTDOMAIN(3)								 1							     TEXTDOMAIN(3)

textdomain - Sets the default domain

SYNOPSIS
string textdomain (string $text_domain) DESCRIPTION
This function sets the domain to search within when calls are made to gettext(3), usually the named after an application. PARAMETERS
o $text_domain - The new message domain, or NULL to get the current setting without changing it RETURN VALUES
If successful, this function returns the current message domain, after possibly changing it. PHP Documentation Group TEXTDOMAIN(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.2 May 2001 TEXTDOMAIN(3)
Man Page

14 More Discussions You Might Find Interesting

1. Programming

error trying to compile a c++ source file

i tried to compile a c++ file using the g++ command: g++ <filename>.cpp -out <output_file> and i received the following error message: ld.so.1: gcc: fatal: relocation error: file gcc: symbol bindtextdomain: referenced symbol not found Killed is it that i am using incorrectly the... (1 Reply)
Discussion started by: ldrojasm
1 Replies

2. Shell Programming and Scripting

Random Line

I am trying to build a script written in ksh93 that pulls a random line out of each of four text files. Since the files are all different, I can't think of a way to take the number of lines (in one case, let's say 50), then randomly pick a line out, making sure that all lines have a fair... (8 Replies)
Discussion started by: LivinFree
8 Replies

3. AIX

Mutt 1.5 on Aix 5.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)
Discussion started by: eth0
0 Replies

4. Shell Programming and Scripting

getting stderr & stdout output lively modified

This is about getting all output to stderr and stdout localized. Nothing to do with redirecting output to a file (there already are some interesting threads about that issue on this forum). What I intend to do is capturing all lines of text sent to the screen, compare them with an array of... (2 Replies)
Discussion started by: teo ramirez
2 Replies

5. Shell Programming and Scripting

nawk/ksh help

Hello, First of all, I am trying to duplicate the sum command using ksh/nawk Lets assume the following algorithms work just fine and there is no calculation errors what so ever (which I doubt at this minute). For now, I wanna make sure the script uses the BSD algorithim if -r is used... (0 Replies)
Discussion started by: DeltaX
0 Replies

6. Solaris

Orcallator in solaris servers

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)
Discussion started by: arjunreddy3
11 Replies

7. Solaris

Samba 3.5.4 compile error

Hello! I am trying install samba 3.5.4. and following this instruction from the source package. So, there are my steps: 1 cd ../samba-3.5.4/source3 2 ./configure (without any arguments) and when i run make it returns error .................................................... Compiling... (2 Replies)
Discussion started by: zhum
2 Replies

8. AIX

Symbol resolution failed for gawk on AIX

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)
Discussion started by: susmitha_m
5 Replies

9. UNIX for Dummies Questions & Answers

wget error

Hello I am getting the following error please help me out as why I am unable to get wget command right. oracle@host:/home/oracle>wget /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from wget Abort(coredump) Thanks (15 Replies)
Discussion started by: ronick11
15 Replies

10. UNIX for Advanced & Expert Users

[BASH] Errormessages and Traps with a 'here-doc'

Happy holidays everyone :) I'm trying to increase usabilty for my scripted project-, for that i wanted to apply an error message poping up upon every and any error (other than proper exit) indicating the enduser a uniform, and hopefully readable error messsage. To achieve this, i wrote a... (4 Replies)
Discussion started by: sea
4 Replies

11. AIX

AIX and Value too large to be stored in data type.

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)
Discussion started by: filosophizer
2 Replies

12. AIX

0509-036 tar error

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)
Discussion started by: filosophizer
2 Replies

13. Homework & Coursework Questions

Help needed - UNIX command

The 'env' command prints out all of the environment variables and their values. Come up with a command that prints a list of environment variables whose names end with either 'NAME', 'DIR' or 'PATH'. What I've tried. $ env | grep '' Although it highlights the part of the variables... (8 Replies)
Discussion started by: edujs7
8 Replies

14. AIX

AIX ssh timeout

I have to make a command to work when connecting to AIX 7.1 (used by an internal software). I have a linux server L where the following command is runned ssh -t <aix-server-ip> ls For a <non-aix-server-ip> the command runs successfully. For AIX the terminal just gets blocked. ssh connection... (5 Replies)
Discussion started by: ufo
5 Replies