Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the language of the date?


comprasubito

Recommended Posts

Hello,

 

wich file must I manage, to change the Date language on the index. page?

 

This is the date shown on my web shop: Friday 11 August, 2006

 

 

I need change "Friday" and "August" to "venerd?" and "Agosto" in Italian language.

 

Can someone help me? :blink:

 

Thank you

Link to comment
Share on other sites

Go to italian.php (I assume) and look for a string like this:

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

 

You'll need to set it to the right locale. I'm not sure how to do that myself, but a good starting point might be here. It looks like you'll have to find some stuff about your server to figure out what you need there.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

Go to italian.php (I assume) and look for a string like this:

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

 

You'll need to set it to the right locale. I'm not sure how to do that myself, but a good starting point might be here. It looks like you'll have to find some stuff about your server to figure out what you need there.

 

 

Thank you for your help,

 

I've found the right parameter:

 

To change the date from english to italian language i must change 'en_US.ISO_8859-1' to 'it_IT.ISO8859-1'

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...