Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where to translate dates and months?


oling

Recommended Posts

Copy the includes/languages/english.php file to be the language you need and edit the date and time specifications found at the top of that file.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Copy the includes/languages/english.php file to be the language you need and edit the date and time specifications found at the top of that file.

 

Thanks, I can do this, but I need to translate the dates and months as well, June=Juni, July=Juli, Sunday=Sunnudagur, etc..

 

Thanks, oling

Link to comment
Share on other sites

When you set the language value (first line) in the language file the days and months are pulled from that file so 05 is May in en (english) and Mayo in es (espanol) automatically.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

  • 3 years later...

Look here for an example on how to do this.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Fix for that here

 

(In /catalog/includes/modules/new_products.php)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

до свидания и удача мой друг

 

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...