Re: [PHP-DEV] GNU gettext module From: Alex Plotnick (shrike <email protected>)
Date: 01/10/99

On Sun, 10 Jan 1999, Jim Winstead wrote:

> On Jan 10, Alex Plotnick wrote:
> > {"gettext", php3_gettext, NULL},
> > {"_", php3_gettext, NULL},
>
> Is the intention really to create a function called "_"? I don't
> know that this is really appropriate, unless this is some standard
> I'm just unfamiliar with.

It is fairly standard in the gettext world to alias _() to gettext()
(usually via #define in C). It saves quite a bit on space and keystrokes;
to translate "Some string", you can simply use `_("Some string")', instead
of `gettext("Some string")'.

        -- Alex

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>