Re: [PHP-DEV] PHP with GNU gettext support From: eschmid (eschmid+sic <email protected>)
Date: 03/19/00

On Sun, 19 Mar 2000, Chuck Hagenbuch wrote:

> Quoting Kolb Norbert <nkolb <email protected>>:
>
> > I thought I read something like that in the php-docs, but couldn't
> > find it anymore, so I coded something new.
>
> There aren't any docs, but the --with-gettext option has been in php for a
> while, and works fine. Have you looked at ext/gettext/ in php4, or
> functions/gettext.c in php3?

I know that there aren't any docs. I have spoken with Norbert and he will
eventually provide some documentation.

Can you write the function prototypes for PHP3 and PHP4. It would help
alot. In PHP3 you can find the following function entries:

function_entry php3_gettext_functions[] = {
    {"textdomain", php3_textdomain, NULL},
    {"gettext", php3_gettext, NULL},
    {"_", php3_gettext,
NULL},
        {"dgettext", php3_dgettext, NULL},
        {"dcgettext", php3_dcgettext, NULL},
        {"bindtextdomain", php3_bindtextdomain, NULL},
    {NULL, NULL, NULL}
};

I have no idea how to document a function, whos name is only a single
underline.

-Egon

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>