[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PHP and ngettext problem
From: |
Bruno Haible |
Subject: |
Re: PHP and ngettext problem |
Date: |
Thu, 3 Jul 2003 18:00:19 +0200 |
User-agent: |
KMail/1.5 |
A. Sopicki wrote:
> I'm using version 0.12.1 of the GNU gettext tools and tried to use it with
> PHP. It works fine with the gettext function but it couldn't find the msgid
> when using the ngettext function. I don't know if you already know about
> this bug cause I couldn't find anything about it on the internet except for
> python. So if you already know it, just ignore my message :)
>
> As a workaround I added --keyword=ngettext:1,2 and everthing is fine.
Thanks for reporting this. The problem occurred because I based the xgettext
support on PHP 4.1.0, and the ngettext function was added later, in PHP 4.2.0.
Support for it will be contained in gettext 0.12.2.
Bruno