Re: [PATCH] Enable LC_MESSAGES locale, when gettext is compiled
| From: | Melvyn Sopacua | Date: | Mon, 26 May 2003 20:59:16 +0000 |
| Subject: | Re: [PATCH] Enable LC_MESSAGES locale, when gettext is compiled | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2020@lists.php.net to get a copy of this message | ||
On Mon, 26 May 2003, Jani Taskinen wrote:
JT>>> On Mon, 26 May 2003, Melvyn Sopacua wrote:
JT>>>
JT>>> >attached a small fix, for OS's who do not natively support the LC_MESSAGES
JT>>> >locale.
JT>>>
JT>>> What OSes might those be?
The more conservative ones :). BSD/OS for one. Not sure about
Open/NetBSD.
JT>>> >When on these platforms the gettext extension is compiled in, it is still
JT>>> >useless, since libintl.h is the one defining the locale.
JT>>>
JT>>> What is useless, this patch or gettext?
Neither. Having compiled in gettext is useless, as gettext needs the
LC_MESSAGES locale set.
JT>>> >Tested and working, no side-effects observed.
JT>>>
JT>>> Feel free to commit to the 4_3 branch.
Done.
--
Melvyn