Edit report at https://bugs.php.net/bug.php?id=66265&edit=1
ID: 66265
Comment by: jin at 2acom dot com
Reported by: roeycohen at gmail dot com
Summary: gettext is not working anymore
Status: Assigned
Type: Bug
Package: Gettext related
Operating System: windows
PHP Version: 5.5.7
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
got the same problem on windows 8, wamp 2.5 (64bit) and php 5.5.12
Previous Comments:
------------------------------------------------------------------------
[2014-07-31 07:50:02] az at tass dot de
Related To: Bug #66265
------------------------------------------------------------------------
[2014-07-31 07:50:01] az at tass dot de
Same here ...
OS: Windows 7 Enterprise SP1
IIS Express 8.0.8418
PHP 5.5.14 --> same issue as submitted, Bug #66265
switching to
PHP 5.3.28 --> resolves the issue and gettext works how it should be
------------------------------------------------------------------------
[2014-06-17 07:14:43] revx at gmx dot de
I can confirm this problem for PHP Version 5.5.9.
I'm using Windows 7 64-Bit on a german computer.
Currently the only solution is to change the Windows language settings under:
1. Control panel > Regional and Language Options > Format > Französisch (Schweiz)
2. Restart Apache
// This will return false
echo setlocale(LC_ALL, 'fr_CH'); // false
// but the translation works.
echo __('Kunde'); // Client
------------------------------------------------------------------------
[2014-05-19 12:34:22] barry at staes dot nl
So that might narrow it down to 5.4.19 .. 5.4.28a
Can anyone else confirm behavior for these PHP versions on Windows?
Can anyone test the intermediates .. when was the problem introduced?
I dont know how to quickly switch out PHP versions. Or is there a ZEND hosted test facility for
reproducing these things?
------------------------------------------------------------------------
[2014-05-19 12:16:24] barry at staes dot nl
louisantoinem: that is not this PHP bug on Windows. (i tried adding locales but no success)
The problem here is same code stops working after PHP upgrade.
Comments/tests summarized so far:
Works:
PHP 5.3 : 5.3.28b (*1)
PHP 5.4 : 5.4.8, 5.4.19
Does not work:
PHP 5.4 : 5.4.28a (*1)
PHP 5.5 : 5.5.5, 5.5.6, 5.5.7 (*2), 5.5.8, 5.5.9, 5.5.12a (*1)
I assume all tested in Apache, except for
*1) tested in Uniform Server Zero XI by e@elasten.eu
*2) tested in ISS by roeycohen@gmail.com
More specific tests are welcome. (Windows + PHP + gettext..)
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=66265
--
Edit this bug report at https://bugs.php.net/bug.php?id=66265&edit=1