Anything magic about PHP4 and gettext?
Hi!
Maybe its a bit offtopic - sorry. I'm trying to get php to translate
output via gettext on a woody machine. Obviously the code running
on the old redhat box is not working on Debian.
Do I have to add something special in php.ini or in the script?
8<----------------------------------------------------
putenv ("LANG=de_DE");
setlocale("LC_ALL", "");
bindTextDomain('main', './locale');
textDomain('main');
print ( _("This is a test message...") );
--------------------------------------------------------
Thanks,
-Cajus Pollmeier
--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: