Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language pack outdated ?


Percept

Recommended Posts

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

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...