Edit report at http://bugs.php.net/bug.php?id=49349&edit=1

 ID:               49349
 Updated by:       paj...@php.net
 Reported by:      raulsalitrero at gmail dot com
 Summary:          gettext behaves differently in php 5.3.0 (5.2.x
                   ignored setlocale errors)
 Status:           Assigned
 Type:             Bug
 Package:          Gettext related
 Operating System: win32 only - windows xp sp3
 PHP Version:      5.3.0
 Assigned To:      pajoye

 New Comment:

The work around is explained in this report. And yes, there will be a
5.3.3 which will have the fix in the library used by gettext.


Previous Comments:
------------------------------------------------------------------------
[2010-05-06 06:00:32] scott at etw dot ca

Is there a release date for 5.3.3?  Spent the last few months building a
project in 5.3 and my final steps was to add language support which i
cant do with gettext due to this bug, and to revert to 5.2x would
require other major code changes....

------------------------------------------------------------------------
[2010-05-05 12:12:39] sjake_it at hotmail dot com

Same problem here with Windows Server 2003 SP2.

This bug prevents me from upgrading to php 5.3.x

It's been 8 months now so I hope this bug will be fixed quickly now.

------------------------------------------------------------------------
[2010-04-19 02:00:08] egorinsk at gmail dot com

Hi, the same problem here with Windows XP SP2 and PHP 5.3.1 .  In PHP
5.2, setlocale() call failed, but gettext() used information from LANG,
LC_ALL and LANGUAGE variables. That was good, because I could use
putenv() to change gettext() language on Windows and setlocale() on
Linux.



But now setlocale() on Windows fails, and gettext() always uses system
locale, and messages are not translated. Actually, I don't need locales,
they only bring problems, I'd prefer to always set it to POSIX locale to
get consistent behaviour independent from server setup, but gettext()
requires to use it :(

------------------------------------------------------------------------
[2010-04-14 01:17:18] jorgecanta47 at hotmail dot com

Same problem here with Windows Vista Home Premium, PHP 5.3.1 in XAMPP.

Is there any workaround  yet?

Thanks

------------------------------------------------------------------------
[2010-04-05 17:19:37] euridica at narod dot ru

Still same in 5.3.2. Translation is done only to default system locale.

------------------------------------------------------------------------


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/bug.php?id=49349


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=49349&edit=1

Reply via email to