Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Translating weekdays and monthnames?


Icelady

Recommended Posts

Hi I am new here!

I have searched through your forum but found no answer to my question that way.

 

I have been translating OSCommerce to Icelandic successfully it seems, but with one exception:

 

The date showing in the footer of the catalog pages is in english and I cant find the defining file for the names of months and weekdays. I would like to translate those to Icelandic.

 

Has anyone experience with this? When I searched the forum I found some who had asked simular questions before but no answers.

 

Would appreciate any help!!

 

Best regards from Iceland, Icelady.

Link to comment
Share on other sites

Wow thanks, that really helped! :D

What a relief!

For future reference the names of months and weekdays change automatically if you edit this line accordingly in catalog/includes/languages/icelandic.php or other appropriate language name:

 

abt line number 19

 

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

 

this is set for Icelandic. So you really do not need to search for a file containing the names of the months and days, it's only as simple as this.

 

Thanks so much for your help!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...