Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Default Language Settings


Guest

Recommended Posts

Hello,

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.

 

Hth,

Matt

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:

 

Section:

// set the language

 

Code:

else {

$lng->get_browser_language();

}

 

That worked! :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...