Percept Posted February 11, 2004 Share Posted February 11, 2004 Hi, I'm getting the following errors after setting up the dutch language pack: Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /web/developer2/digitalseeds/www/www.digitalseeds.be/public_html/includes/languages/dutch.php on line 15 Warning: main(includes/languages/dutch/index.php): failed to open stream: No such file or directory in /web/developer2/digitalseeds/www/www.digitalseeds.be/public_html/index.php on line 33 Fatal error: main(): Failed opening required 'includes/languages/dutch/index.php' (include_path='.:/usr/local/php/lib/php') in /web/developer2/digitalseeds/www/www.digitalseeds.be/public_html/index.php on line 33 I'm no php programmer but doesn't the first line indicate that the setlocale() function shouldn't be used anymore and if so how do I fix this ? Link to comment Share on other sites More sharing options...
Percept Posted February 11, 2004 Author Share Posted February 11, 2004 I've found a more recent Dutch language pack which works fine so my problem is solved. If there are any other Dutch/Belgian people looking for an updated pack go to www.oscommerce.nl Link to comment Share on other sites More sharing options...
241 Posted February 11, 2004 Share Posted February 11, 2004 It should follow this format @setlocale(LC_TIME, 'en_UK.ISO_8859-1'); this one is for english you would change the part en_UK.ISO_8859-1 to the code required for Dutch No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.