Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Zones, and dte format in my language


Guest

Recommended Posts

I just downloaded a file with zones from my country and i don't know where to put them.

And i want to change the date (days and mounths) in my language but i don't know whare to make the modification

 

Thanks

Link to comment
Share on other sites

Date format is normally changed in the main <yournewlauguage>.php

 

Put the new language catalog main file and all subdirectorys and file in /catalog/includes/languages/

 

Put the new language Admin main file and all subdirectorys and file in /admin/includes/languages/

 

ie:

/includes/languages/english.php

/includes/languages/english/<otherfiles>.php

/includes/languages/english/<moredirectories/<otherfiles>.php

etc...

 

 

Good Luck

Link to comment
Share on other sites

  • 4 weeks later...

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

 

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...