#18693 [Asn->Csd]: gettext doesn't work on Windows with PHP 4.2.x
| From: | edink@php.net | Date: | Mon, 05 Aug 2002 16:43:35 +0000 |
| Subject: | #18693 [Asn->Csd]: gettext doesn't work on Windows with PHP 4.2.x | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16013@lists.php.net to get a copy of this message | ||
ID: 18693
Updated by: edink@php.net
Reported By: spam@dubbekarl.dk
-Status: Assigned
+Status: Closed
Bug Type: Gettext related
Operating System: Windows 2000
PHP Version: 4.2.2
Assigned To: edink
New Comment:
The problem is resolved. You can download
http://ftp.proventum.net/pub/php/win32/temp/php_gettext-4.2.2.zip
archive which contains two files. You should replace php_gettext.dll in
your php4\extensions dir with the file from the archive and put
libintl-1.dll in you \windows\system32 folder.
Previous Comments:
------------------------------------------------------------------------
[2002-08-01 18:40:38] spam@dubbekarl.dk
When I use the old version of PHP (4.1.2) available from Windows, the
gettext functions work perfectly but not when I use any of the 4.2.x
versions of PHP. No error messages are given, it seems to me that _()
just returns its argument without i18n'ing it.
The 4.1.2 version is bundled with gnu_gettext.dll but 4.2.x is not.
Using the 4.1.2 version of that dll in 4.2.x doesn't fix the problem.
I described the problem many times on PHP forums but noone has helped
me so I will guess it is a bug.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18693&edit=1