Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Page keep coming back to default language.


ken0306

Recommended Posts

Hi there,

 

I have 2 language installed in my site, the default language is English, and the second language is French. My language keep switch back to my default language when I click on any page on my site. so anyone know which part should I look it to it?

thank you

ken

Link to comment
Share on other sites

Hi Ken

 

Look first at includes/application_top.php about line 265 there is the code that should switch languages.

 

On first arrival that code should setup the language session and make it equal to en/english

 

When you switch to French the url will carry a $_GET something like www.blahbah.com/index.php?language=fr and the same chunk of code will switch the language over so your page is now in French

 

Next visit that fails - I think you are losing the language session in some way - I'd look at that first as if that is what's going on it would kick you back to English.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...