I'm trying to use GNU's gettext to internationalize a lot of PHP code, I don't want to read and GNU's documentation is "C" oriented with lot of configure,automake and makefiles...
So I want a silly-proof recipe on how to use gettext from php, I have a .po file generated and I can make all the gettext calls in the file but what do I do with
putenv ("LANG=de");
bindtextdomain ("myPHPApp", "./locale");
textdomain ("myPHPApp");
What do I have to put and where?
Any help will be REALLY useful.
Luis