Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the months to my language


grlongo

Recommended Posts

Hi Mates,

 

 

Please, I can´t find into the code where I can change the language of the month displayed in the index page.

 

My oscommerce is in portuguese but looks like this:

 

 

Bem vindo à Base

 

Bem vindo Visitante! Autentique-se ou crie uma nova conta

 

Novidades de October

 

 

I´d like to change all the months to portuguese aswell. October is in english!

Could I get some help from here???

 

Thanks a lot!

Guilherme Longo

Link to comment
Share on other sites

Towards the top of your /catalog/includes/languages/portugese.php try changing the setlocale call to this:

 

@setlocale(LC_TIME, 'Portuguese_Portugal.1252');

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 you upload to a Unix server try this instead:

 

@setlocale(LC_TIME, 'pt_PT.ISO8859-1');

 

That worked on my server, but that doesn't guarantee it will work on yours.

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