From: schnaaf at home dot nl Operating system: FreeBSD 4.7 PHP version: 4.3.8 PHP Bug Type: Gettext related Bug description: GETTEXT strings occasionally don't get translated
Description: ------------ './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local' '--with-ttf' '--enable-safe-mode' '--enable-memory-limit' '--enable-track-vars' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-tiff-dir=/usr/local' '--with-png-dir=/usr/local' '--enable-bcmath' '--enable-versioning' '--enable-trans-sid' '--with-zlib' '--with-xml' '--enable-gd-imgstrttf' '--with-mcrypt' '--with-expat=/usr/local' '--enable-calendar' '--enable-ftp' '--enable-calendar' '--with-mhash' '--with-curl=/usr/local/include/curl' '--with-openssl' '--with-xml' '--with-dom=/usr/local' '--enable-wddx' '--with-sablot=/usr/local' '--with-expat=/usr/local' '--enable-xslt' '--with-xslt-sablot' '--with-dom-xslt=/usr/local' '--disable-cgi' '--with-gettext' Reproduce code: --------------- I have an application written in PHP with gettext support in a particular script. Every now and then the messages in this particular script don't get translated. A refresh of the page will sometimes help. But after reloading the page about five times the untranslated strings show up again. There seems to be no clear reason why this happens. Anybody? Expected result: ---------------- translated strings Actual result: -------------- sometimes the string gets translated sometimes it doesn't in the same script -- Edit bug report at http://bugs.php.net/?id=30597&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30597&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30597&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30597&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30597&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30597&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30597&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30597&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30597&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30597&r=support Expected behavior: http://bugs.php.net/fix.php?id=30597&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30597&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30597&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30597&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30597&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30597&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30597&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30597&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30597&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30597&r=mysqlcfg