Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Default Language Settings


Recommended Posts


I've added a language package and deleted everything else but english (and ofcourse my new one).

The new packagae was set as default language and it worked for a while, but now the site automatic goes to english which is NOT the default language?!?


Has anyone seen this before, if so please give me some hints to what may have gone wrong, thanks!

Link to comment
Share on other sites

The site's first default is the browser language. It only tries the language defined in the code as the default if the browser language is not available. This is set in includes/application_top.php if you want to change this behavior.




Link to comment
Share on other sites

Ok, very nice thanks alot dude!


Information for other users:


I've tested the two languages defined in my browser and switched the default language one at the time but that didn't have any effect on the osCommerce module (it was still just using english as default).


Then I found the language section in the incudes/application_top.php as you said and disabled the following code:



// set the language



else {




That worked! :D

Link to comment
Share on other sites


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

  • Create New...