Jump to content

Having problems with gettext.php


Technaut

Recommended Posts

has anyone ever had any experience with this error?

 

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead in E:\domains\0\01563.com\user\htdocs\php-gettext\gettext.inc on line 130

 

Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in E:\domains\0\01563.com\user\htdocs\php-gettext\gettext.inc on line 130

Link to comment
https://forums.phpfreaks.com/topic/154477-having-problems-with-gettextphp/
Share on other sites

No, but I think I can tell what the second error means:

 

You've tried to do something with "LC_MESSAGES", but php is not recognising it as valid. 

 

According to php.net:

 

"LC_MESSAGES for system responses (available if PHP was compiled with libintl)"

 

So mb you need to check if you have libintl compiled?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.