#30597 [Com]: GETTEXT strings occasionally don't get translated
| From: | alain at parkautomat dot net | Date: | Fri, 07 Jan 2005 14:56:12 +0000 |
| Subject: | #30597 [Com]: GETTEXT strings occasionally don't get translated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71567@lists.php.net to get a copy of this message | ||
ID: 30597
Comment by: alain at parkautomat dot net
Reported By: schnaaf at home dot nl
Status: Feedback
Bug Type: Gettext related
Operating System: FreeBSD 4.7
PHP Version: 4.3.8
New Comment:
http://parkautomat.net/php4gettextbug.tar.gz
It includes a sample php file and some translated messages. This shows
the exact problem here.
Distribution: Debian GNU/Linux
Versions:
gettext 0.14.1
php4 4.3.9
apache 1.3.26.1
Previous Comments:
------------------------------------------------------------------------
[2005-01-07 15:03:56] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2005-01-07 14:38:34] alain at parkautomat dot net
I updated to the newest gettext and I still have the problem. It only
shows on texts with german 'Umlaut's as sources.
All other text fragments are translated, just those with the Umlauts
are not translated - most of the time. It looks like it only translates
one entry and leaves the others untranslated.
------------------------------------------------------------------------
[2004-11-24 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2004-11-16 17:26:31] tony2001@php.net
Try to upgrade your gettext installation first.
------------------------------------------------------------------------
[2004-10-28 13:40:40] schnaaf at home dot nl
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 this bug report at http://bugs.php.net/?id=30597&edit=1