[PHP-DEV] PHP's gettext extension From: Rudi Benkovič (rudib <email protected>)
Date: 05/15/01

Hi,

Now since gettext 0.10.36, gettext has support for plural translations
(functions ngettext, dcngettext,...). Could some hack this into PHP?

I don't know much 'bout C (or is it C++? :) though I have currently managed to
hack together dncgettext, but the ngettext just doesn't like me - libint.h has
at first the correct definition (three parameters), but later on in some #ifdef
__OPTIMIZE__ there's a ngettext macro that accepts only two parameters - and the
second one only 'works', but it is broken - later on it reports that the call to
dcngettext has too few arguments. I don't get it :) Maby some stupid RedHat
folks have hacked this up (using Rawhide RPM).

Could someone pleeease do this? It would be great! (or if some explains me about
ngettext macro, I can do it :)

--

Rudi

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>