|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18693 gettext doesn't work on Windows with PHP 4.2.x
Submitted: 2002-08-01 18:40 UTC Modified: 2002-08-05 12:43 UTC
From: spam at dubbekarl dot dk Assigned: edink (profile)
Status: Closed Package: Gettext related
PHP Version: 4.2.2 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 + 41 = ?
Subscribe to this entry?

 [2002-08-01 18:40 UTC] spam at dubbekarl dot 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-05 12:43 UTC]
The problem is resolved. You can download 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.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 08:01:29 2024 UTC