theoisak Posted August 10, 2017 Share Posted August 10, 2017 Hi is it possibel to have 2 language (danish / english) in admin panel, but only danish in the customer end? if yes how ? i am running newest version Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted August 10, 2017 Share Posted August 10, 2017 Look for the following code in catalog/includes/application_top.php: if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } and replace it with: /* if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } */ $lng->set_language('your_language_code'); replace your_language_code with the code of the language you'd like to force everyone on. That should work! , osCommerce Link to comment Share on other sites More sharing options...
theoisak Posted August 11, 2017 Author Share Posted August 11, 2017 Thank you that worked :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.