Re: PHP with GNU gettext support
| From: | eschmid | Date: | Sun, 19 Mar 2000 20:30:33 +0000 |
| Subject: | Re: PHP with GNU gettext support | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-17035@lists.php.net to get a copy of this message | ||
On Sun, 19 Mar 2000, Chuck Hagenbuch wrote:
> Quoting Kolb Norbert <nkolb@htl.de>:
>
> > 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