Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Browser does not detect Swedish language


Recommended Posts

In Catalog/includes/Languages/svenska.php I have the following code:

// Global entries for the <html> 
define('HTML_PARAMS','dir="LTR" lang="sv"');

However, I can see that visitors from sweden are getting the default language (English) despite of this adjustment. The language is defined in Admin as "sv" and referring to svenska.php.

It works fine for norwegian "no" and Danish "da" !?


Thanks for you help


Link to comment
Share on other sites

Thanks Jason. I have searched a lot for codes trying to solve this problem, and as far as I have found out, "se" is the country code for Sweden (as you correctly write), but "sv" is the code for the Swedish language.

Anyway, I will give it a try - at least it doesn't work as it is now!



Link to comment
Share on other sites


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

  • Create New...