> > I give up. There must be some gettext bug. I can't get the gettext in
> > php to recognize translations. I have compiled and installed the
> > latest version of PHP and built it with --gettext but that didn't help
> > either.
>
> I had similar problems once - I don't know how I got rid of them.
> But be sure to check, that you ran translate.sh which creates the necessa=
> ry=20
> *.mo file in LC_MESSAGES. gettext() uses that *.mo file and not the *.po=20
> files. *.po files are only "source-files" for creating *.mo
>
> Also, make sure that all permissions are ok (including directories).
Also, looking at a run with a standalone PHP under strace is ften quite
helpful:
strace php index.php 2>&1 | grep open
Shows you all file-opens attempted by the PHP binary when it's run--
highlights permission errors nicely (look for EPERM or EACCES)
Ari
|