Paul on Mon, 8 Sep 2003 12:04:06 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] gettext/php woes


My test only used a print() function with the gettext() function. I didn't try bindtextdomain(), textdomain(), or putenv().

Do you actually have a translation for gettext() to use?


Jon Nelson wrote:

These changes did not get rid of the errors.

I did figure out that I had not been correctly using the bindtextdomain()
and textdomain() functions.  Once I straighten that out it worked like a
champ, although the errors are still showing up.  Granted they only show
up with:

   error_reporting = E_ALL

Set in php.ini, but not:

   error_reporting = E_ALL & ~E_NOTICE

Thanks for the help all the same.




_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug