Edit report at http://bugs.php.net/bug.php?id=49349&edit=1
ID: 49349
Comment by: czarny at gmx dot net
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 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.
Previous Comments:
------------------------------------------------------------------------
[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] [email protected]
Please try with 5.3.3 final.
------------------------------------------------------------------------
[2010-07-14 15:14:16] [email protected]
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...
------------------------------------------------------------------------
[2010-05-12 19:41:06] [email protected]
No release date yet.
Please, don't add other cases as the issue has been identified, clearly.
------------------------------------------------------------------------
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