Re: GNU gettext module
| From: | Alex Plotnick | Date: | Mon, 11 Jan 1999 01:22:37 +0000 |
| Subject: | Re: GNU gettext module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3458@lists.php.net to get a copy of this message | ||
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@lists.php.net
For help: php-dev-help@lists.php.net