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 +Status: Feedback Type: Bug Package: Gettext related Operating System: win32 only - windows xp sp3 PHP Version: 5.3.0 Assigned To: pajoye Block user comment: N New Comment: Please try with 5.3.3 final. Previous Comments: ------------------------------------------------------------------------ [2010-07-14 15:14:16] paj...@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... ------------------------------------------------------------------------ [2010-05-12 19:41:06] paj...@php.net No release date yet. Please, don't add other cases as the issue has been identified, clearly. ------------------------------------------------------------------------ [2010-05-12 19:14:18] jasonsmith at yahoo dot com Is there a release date for 5.3.3? ------------------------------------------------------------------------ [2010-05-12 06:46:16] xxxxviii at iinet dot net dot au Windows Server 2008 R2 x64 with IIS 7.5 PHP 5.3.0, 5.3.2 Locale is English (Australian). Trying to get English (United States) to work. have ./locale/en_AU/LC_MESSAGES/messages.mo ./locale/en_US/LC_MESSAGES/messages.mo Always get the default (Australian) You stated: "The work around is explained in this report." So, but this escapes me. Where is the workaround? I have read this thread several times. Question: why does _SERVER["HTTP_ACCEPT_LANGUAGE"] have en-AU and not en_AU??? Or is this just a silly Winblows thing. ------------------------------------------------------------------------ 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