ID: 49349 Updated by: paj...@php.net Reported By: raulsalitrero at gmail dot com -Status: No Feedback +Status: Assigned Bug Type: Gettext related Operating System: win32 only - windows xp sp3 PHP Version: 5.3.0 Assigned To: pajoye
Previous Comments: ------------------------------------------------------------------------ [2009-10-14 13:45:51] roger dot olivier at gmail dot com As asked by paj...@php.net you can found here an archive with a working script with 5.2.5 and not with 5.3.0 Tested on Xp pro Sp3 http://www.lanforums.com/dl/gettext-setlocale_BUG_5.3.0.zip Unzip and launch index.php. Expected result => print "Hello world" on screen Actual result => print "bonjour le monde" on screen ------------------------------------------------------------------------ [2009-10-02 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-09-24 18:05:55] paj...@php.net Yes, but nobody managed to get to it at this stage. I assign it to me so I won't forget to check this problem. To ease my work it would be nice if someone can zip a working script with 5.2, with mo/po files, where it should be placed, etc. and describe. That will shorten the time I will have to spend on the issue. ------------------------------------------------------------------------ [2009-09-24 16:51:48] bkraul at yahoo dot com I was wondering this this issue is expected to be resolved in the near future? Right know I have gotten around it by reverting back to php 5.2.11. Is this a problem with the extension itself? Regards, Belman Kraul ------------------------------------------------------------------------ [2009-09-09 12:55:57] ameoba32 at gmail dot com On windows vista sp2 + php-5.3.0-Win32-VC9-x86 gettext function always searches for "en_US" or "en" path in locale directory. PHP 5.2.3 is okay. this code produces different results <? putenv("LC_ALL=ru"); echo setlocale(LC_ALL,"ru"); bindtextdomain("messages", "./locale"); bind_textdomain_codeset("messages", "utf8"); textdomain("messages"); echo _("Application");exit; ?> In php 5.3.0 it does not translate. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/49349 -- Edit this bug report at http://bugs.php.net/?id=49349&edit=1