On Thu, 06 Sep 2007 15:57:57 +0300, Tijnema <tijnema@xxxxxxxxx> wrote:
On 9/6/07, Roman Neumüller <email@xxxxxxxxxxxxx> wrote:
I'm a german web-designer living in Turkey.
Sometimes I use opensource software like gallery2 or WP to have
customers
have some
nice web albums or blog. The turkish translation files of such
opensource
software
usually use gettext and .po files for i18n and are always a bit behind
the
translation
status of other european languages.
I decided to work a bit on some of those tr.po files on my local linux
box
(opensuse 10.2 with apache 2.x mysql 5.x and php 5.2.0). But when I
started the
test phase in turkish I couldn't test because of strange errors.
I contacted the forum of gallery2 and after investigating the problem I
stumbled over an answer of bug #35050 at bugs.php.net:
http://bugs.php.net/bug.php?id=35050
and its status: WONT FIX
Now that's really great. It means that turkish hosting providers cannot
use php5 at all!
And as of the news on php.net php4 will not be supported or developed
any
further
after the end of 2007! Will Turks really have now to wait for a php6?
When will that come out?
That's seems to me to be a sort of discrimination of turkish language in
php5.
Is it technical so difficult to develop a patch for this bug?
Sincerely
Well, only 1 hour later than your email, there has been posted a patch
on the bug page that fixes it.
Tijnema
I had a look at the patch under http://www.topolis.lt/php/#35050 and saw it
did not work for my system (php5.2.0) I wrote to the author of the patch
and
got this answer:
Patch is written for PHP 5.2.5-dev. It should work in 6.0-dev and PHP
5.2.1 or later version. Any version later than 2006-12-05.
But he also said:
If you need workaround, just set LC_CTYPE locale to C. It also deals with
programming mistakes in PHP scripts.setlocale(LC_ALL,'tr_TR.UTF-8');
setlocale(LC_CTYPE, 'C');
and that seems to work - at least in case of my gallery2 under php5.2.0.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php