Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
From: mirazmac at gmail dot com Date: Thu, 08 Sep 2016 09:31:24 +0000 Subject: Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors) References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-203869@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=49349&edit=1
ID: 49349
Comment by: mirazmac at gmail dot com
Reported by: raulsalitrero at gmail dot com
Summary: gettext behaves differently in php 5.3.0 (5.2.x
ignored setlocale errors)
Status: Closed
Type: Bug
Package: Gettext related
Operating System: win32 only - windows xp sp3
PHP Version: 5.3.0
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
I don't this is funny or not. But believe me, I'm running PHP 7.0.10 and this problem is
NOT fixed yet! :(
And drop-in libraries like "php-gettext" doesn't works with Poedit & other
software.
Previous Comments:
------------------------------------------------------------------------
[2011-04-14 13:33:18] czarny at gmx dot net
I have this bug again under PHP 5.3.5
Build Date Mar 9 2011 15:46:03
Compiler MSVC9 (Visual C++ 2008)
Under Win7 I find no way to set nor the LANG nor the LANGUAGE env-var nor the locale via setlocale()
so that the correct po-file can be found by gettext. I get always the translations from the default
locale folder as mentioned above.
------------------------------------------------------------------------
[2010-08-09 18:03:05] raulsalitrero at gmail dot com
yes!!, it works now, thanks a lot man!!, so the error was in gettext sources...
what was the problem actually?...
------------------------------------------------------------------------
[2010-08-08 16:16:19] pajoye@php.net
Please try with 5.3.3 final.
------------------------------------------------------------------------
[2010-07-14 15:14:16] pajoye@php.net
By the way, reading again the gettext source code (the intl library), the name of the language
environment is LANGUAGE, not LANG. At least in the recent versions.
Next 5.3.3RC-vc9 will have the fix (due tomorrow).
------------------------------------------------------------------------
[2010-06-29 23:00:40] raulsalitrero at gmail dot com
just as a note.
i have just compiled the last version of libintl 0.18.1
taking the patch used for the previous version as a base
but the problem persists.
also you stated: "The work around is explained in this report."
but i don't know what exactly that means.
what workaround.?
Do you mean the pure php gettex implemementation, i know it works, but it can be
really slow.
thanks in advance..
RAUL...
------------------------------------------------------------------------
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=49349
--
Edit this bug report at https://bugs.php.net/bug.php?id=49349&edit=1
Thread (27 messages)
- #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- #49349 [Opn->Fbk]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- #49349 [NoF->Asn]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Asn]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Asn]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Asn]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Asn->Fbk]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Fbk->Csd]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Csd]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
- Bug #49349 [Com]: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors)
| « previous | php.bugs (#203869) | next » |
|---|