Christof11 Posted November 7, 2006 Share Posted November 7, 2006 Hi, when somebody with an English Browser come to my site, the standard language changes from German to English, thats not good. So I commented this part in application_top.php out: 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(); } BUT now, the Language is in German but I can't change the Language in English. I only want the standard Language in German also when I visit the Page with an English Browser and then somebody can change it. Greets Christof Link to comment Share on other sites More sharing options...
oschellas Posted November 7, 2006 Share Posted November 7, 2006 You should set the default language to German in the admin and then online comment out this line: $lng->get_browser_language(); Like this //$lng->get_browser_language(); Link to comment Share on other sites More sharing options...
Christof11 Posted November 7, 2006 Author Share Posted November 7, 2006 Thank you! It works. Look at http://onlineshop.asv-wasserball.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.