The common replacement for internal PHP gettext implementation which has flexibility of not depending on system-installed locales or gettext support being compiled in into PHP, has moved to Launchpad:
I've fixed the most annoying bug that's coming back depending on the architecture and every little change in PHP's handling of integers, and it should be now gone for good. That's available in the 1.0.8 release.
I also evaluated most of the patches/bug fixes from the old project page and a debian package, and integrated what still made sense.
I'll probably roll out another release soon which will include all the latest changes.