From: phpspam at netebb dot com Operating system: Windows 2000 SP2 PHP version: 5.0.0b1 (beta1) PHP Bug Type: *Languages/Translation Bug description: strftime() output not translated after setlocale()
Description: ------------ <?php setlocale(LC_ALL, 'es_ES'); echo strftime("%A %e %B %Y"); ?> works fine on Debian, but fails on Windows 2000 SP2. gettext() *does* work in Windows though, so I know it's not a configuration issue (i.e., extension=php_gettext.dll). I've tested this with both php 5.0.0 and php 4.3.2. Cheers, Ross Reproduce code: --------------- <?php setlocale(LC_ALL, 'es_ES'); echo strftime("%A %e %B %Y"); ?> Expected result: ---------------- domingo 6 julio 2003 Actual result: -------------- Sunday July 2003 -- Edit bug report at http://bugs.php.net/?id=24518&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24518&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24518&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24518&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24518&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24518&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24518&r=support Expected behavior: http://bugs.php.net/fix.php?id=24518&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24518&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24518&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24518&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24518&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24518&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24518&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24518&r=gnused