Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Long Date not changed in other language packs?


alex243

Recommended Posts

I noticed that selecting a language other than english does not change the time to german or spanish and i would like to do this. I was able to change the current date into german and spanish that is displayed in the bottom left of the footer. However I can't successfully change the date code in the counter file. Would love some help or a place where someone has posted code for this already. thanks

Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...

First you have to find out which OS is your server running, then go to \catalog\includes\languages\ and open espanol.php

 

Locate this line...

@setlocale(LC_TIME, 'es_ES.ISO_8859-1');

notice this is the default option, and it works for FreeBSD

 

But...

 

If your server is running RedHat you must change to

 

@setlocale(LC_TIME, 'es_ES');

 

If your server is running Windows you must change to

 

@setlocale(LC_TIME, 'sp');

 

It works for me, I hope it works for you!! :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...