Date: 01/10/99
- Next message: musone: "[PHP-DEV] CVS update: php3"
- Previous message: Jim Winstead: "Re: [PHP-DEV] GNU gettext module"
- In reply to: Jim Winstead: "Re: [PHP-DEV] GNU gettext module"
- Next in thread: Manuel Lemos: "Re: [PHP-DEV] GNU gettext module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: musone: "[PHP-DEV] CVS update: php3"
- Previous message: Jim Winstead: "Re: [PHP-DEV] GNU gettext module"
- In reply to: Jim Winstead: "Re: [PHP-DEV] GNU gettext module"
- Next in thread: Manuel Lemos: "Re: [PHP-DEV] GNU gettext module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

