php-i18n Digest 1 Nov 2004 01:57:41 -0000 Issue 256
Topics (messages 776 through 781):
GETTEXT strings occasionally don't get translated
776 by: Patrick Savelberg
777 by: Yannick Warnier
778 by: Yannick Warnier
Re: ICU Extensions for PHP
779 by: l0t3k
780 by: Tex Texin
781 by: Vahid Ghafarpour
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
I have an application written in PHP with gettext support. Every now and
then the messages 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?
--- End Message ---
--- Begin Message ---
Le jeudi 28 octobre 2004 � 13:06 +0200, Patrick Savelberg a �crit :
> Hi,
>
> I have an application written in PHP with gettext support. Every now and
> then the messages 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?
I think I've read somewhere there is a cache system with gettext, which
would exlain why you have some strings untranslated in some cases (for a
determined period of time), but it doesn't explain why they get back
after a while...
Yannick
--- End Message ---
--- Begin Message ---
Le jeudi 28 octobre 2004 � 13:49 +0200, Patrick Savelberg a �crit :
> Hi Yannick,
>
> Do you have a resource on where you have read about this behaviour?
I just looked up in Google and found a reference to a previous mail on
this list, but did not manage to find any solid info coming from a doc:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00553.html
Maybe reading the gettext doc could help. I found that searching the doc
page for the word 'cache' gets something that seem to talk about it, but
haven't much time to look further:
http://www.gnu.org/software/gettext/manual/html_mono/gettext.html
Yannick
>
> "Yannick Warnier" <[EMAIL PROTECTED]> schreef in bericht
> news:<[EMAIL PROTECTED]>...
> Le jeudi 28 octobre 2004 � 13:06 +0200, Patrick Savelberg a �crit :
> > Hi,
> >
> > I have an application written in PHP with gettext support. Every now
> > and then the messages 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?
>
> I think I've read somewhere there is a cache system with gettext, which
> would exlain why you have some strings untranslated in some cases (for a
> determined period of time), but it doesn't explain why they get back
> after a while...
>
> Yannick
> ----------
>
--- End Message ---
--- Begin Message ---
"Tex Texin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>>There was some discussion (Mar 2003) of ICU Extensions for PHP:
>>http://www.zend.com/lists/php-dev/200303/msg00656.html
im the guilty party.
>>I am interested to know if this was ever completed?
well yes and no. yes, i have a working subset of ICU compiled into a PHP
extension that currently compiles and runs under Windows (i havent had time
to fix the *nix build). No, its nots not quite complete, since it is a bit
of a hack. Fearing that ICU as a whole would constitute too much of a
dependency requirement, i ported selected portions to C and wrapped it into
an extension. The good thing is it requires only iconv as a dependency and
implements about 19 common objects (e.g. UnicodeString, formatting classes,
ResourceBundles). The bad thing is that with the fork, there is no way of
keeping up with ICU's progress.
I spoke with Derick Rethans and he has been given leave by his company
to devote some resources to doing this properly, and since i have a bit of a
headstart, i'll coordinate with him so we can have something usable by 5.1.
Until then, if you'd like a crack at what i've got, just give me a
shout..
l0t3k
BTW - love your site. it was daily reading while working on the extension.
Tex Texin
--- End Message ---
--- Begin Message ---
Thanks for the comment on my site, it is nice to hear.
I can't commit to helping out just yet, without knowing more about what is
needed, but I am interested to know more about what you have, and perhaps
also to stir up further interest in moving PHP&ICU forward. I would think
that some mention of it on the ICU mail list and web site would bring some
others around...
tex
-----Original Message-----
From: l0t3k [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 6:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP-I18N] Re: ICU Extensions for PHP
"Tex Texin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>>There was some discussion (Mar 2003) of ICU Extensions for PHP:
>>http://www.zend.com/lists/php-dev/200303/msg00656.html
im the guilty party.
>>I am interested to know if this was ever completed?
well yes and no. yes, i have a working subset of ICU compiled into a PHP
extension that currently compiles and runs under Windows (i havent had time
to fix the *nix build). No, its nots not quite complete, since it is a bit
of a hack. Fearing that ICU as a whole would constitute too much of a
dependency requirement, i ported selected portions to C and wrapped it into
an extension. The good thing is it requires only iconv as a dependency and
implements about 19 common objects (e.g. UnicodeString, formatting classes,
ResourceBundles). The bad thing is that with the fork, there is no way of
keeping up with ICU's progress.
I spoke with Derick Rethans and he has been given leave by his company
to devote some resources to doing this properly, and since i have a bit of a
headstart, i'll coordinate with him so we can have something usable by 5.1.
Until then, if you'd like a crack at what i've got, just give me a
shout..
l0t3k
BTW - love your site. it was daily reading while working on the extension.
Tex Texin
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
If you like to continue I like to help you, I wish that we all together
start it and also I think in this way somebody else will be help us.
Tex Texin wrote:
Thanks for the comment on my site, it is nice to hear.
I can't commit to helping out just yet, without knowing more about what is
needed, but I am interested to know more about what you have, and perhaps
also to stir up further interest in moving PHP&ICU forward. I would think
that some mention of it on the ICU mail list and web site would bring some
others around...
tex
-----Original Message-----
From: l0t3k [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 6:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP-I18N] Re: ICU Extensions for PHP
"Tex Texin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
There was some discussion (Mar 2003) of ICU Extensions for PHP:
http://www.zend.com/lists/php-dev/200303/msg00656.html
im the guilty party.
I am interested to know if this was ever completed?
well yes and no. yes, i have a working subset of ICU compiled into a PHP
extension that currently compiles and runs under Windows (i havent had time
to fix the *nix build). No, its nots not quite complete, since it is a bit
of a hack. Fearing that ICU as a whole would constitute too much of a
dependency requirement, i ported selected portions to C and wrapped it into
an extension. The good thing is it requires only iconv as a dependency and
implements about 19 common objects (e.g. UnicodeString, formatting classes,
ResourceBundles). The bad thing is that with the fork, there is no way of
keeping up with ICU's progress.
I spoke with Derick Rethans and he has been given leave by his company
to devote some resources to doing this properly, and since i have a bit of a
headstart, i'll coordinate with him so we can have something usable by 5.1.
Until then, if you'd like a crack at what i've got, just give me a
shout..
l0t3k
BTW - love your site. it was daily reading while working on the extension.
Tex Texin
--- End Message ---