Bug #30597 [Com]: GETTEXT strings occasionally don't get translated
| From: | teemu at 1up dot fi | Date: | Tue, 06 Sep 2011 12:35:05 +0000 |
| Subject: | Bug #30597 [Com]: GETTEXT strings occasionally don't get translated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163329@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=30597&edit=1
ID: 30597
Comment by: teemu at 1up dot fi
Reported by: schnaaf at home dot nl
Summary: GETTEXT strings occasionally don't get translated
Status: No Feedback
Type: Bug
Package: Gettext related
Operating System: FreeBSD 4.7
PHP Version: 4.3.8
Block user comment: N
Private report: N
New Comment:
Just for a notice, you have to restart Apache (or whatever) every single time
when you do any kind of modifications into the translations file. If you don't,
gettext will sometimes return your new string but instead it will return more
often that string, what's passed to it as an argument. So the translation with
gettext don't work properly if you don't restart your www-daemon.
Previous Comments:
------------------------------------------------------------------------
[2005-11-07 10:31:27] c dot affolter at stepping-stone dot ch
Same problem encountered with PHP 5.1.0RC1/Apache 2, gettext 0.13.
As mentioned in the previous comment, it seems to be a PHP issue, since the translation is working
correctly via the native gettext command.
------------------------------------------------------------------------
[2005-02-23 22:32:24] wolfgang dot pichler at ivv dot tuwien dot ac dot at
same phenomenon observed in project www.emilda.org from different people with different versions of
apache,php,gettext,linux ....
VERY SPURIOUS
i would think it is some major php design bug :-)
------------------------------------------------------------------------
[2005-01-15 01:00:08] 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".
------------------------------------------------------------------------
[2005-01-07 15:56:11] alain at parkautomat dot net
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
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=30597
--
Edit this bug report at https://bugs.php.net/bug.php?id=30597&edit=1