Guest Posted June 3, 2004 Share Posted June 3, 2004 hello all, How can i enforce the deault language for a website? Currently i have english and french and want to make French the default. In the admin backend, I set french to be the default language and verified it by checking in the configuration table. After this, it STILL continues to load english as the default language. Does anyone have any pointers for me? Cheers, Paul :blink: Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2004 Share Posted June 3, 2004 In catalog/includes/application_top.php around line 274 change this: 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(); } to this: /*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(); }*/ Works for me The_Bear Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2004 Share Posted June 7, 2004 Thanks Bear... that did the trick! thanks! :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.