sniperfox Posted February 17, 2006 Posted February 17, 2006 Hey people, I set my default language: portuguese. But always when I renter in the site again, the language is english instead of portuguese. someone can help me?
sniperfox Posted February 17, 2006 Author Posted February 17, 2006 Hey people, I set my default language: portuguese. But always when I renter in the site again, the language is english instead of portuguese. someone can help me? somebody can help me?
kayss Posted February 18, 2006 Posted February 18, 2006 somebody can help me? I have the same problem !!!!! Anybody can help us?? Thanks.
kayss Posted February 18, 2006 Posted February 18, 2006 I have the same problem !!!!! Anybody can help us?? Thanks. In catalog/includes/aplication_top.php find: 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 remove: $lng->get_browser_language(); but I did not verify if generate a bug. Please backup aplication_top.php. Regards.
♥14steve14 Posted February 18, 2006 Posted February 18, 2006 Have a look in your default language file and look for a piece of code similar to // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)define('LANGUAGE_CURRENCY', 'USD'); Alter the USD to your default language. REMEMBER BACKUP, BACKUP AND BACKUP
kayss Posted February 18, 2006 Posted February 18, 2006 Have a look in your default language file and look for a piece of code similar to Alter the USD to your default language. Allready define('LANGUAGE_CURRENCY', 'RON'); Not work :( Until now, the only solution I have found is to remove: $lng->get_browser_language();
sniperfox Posted February 18, 2006 Author Posted February 18, 2006 I resolve, seting in my browser (Internet Explorer) the idioms english for portuguese in tools->options->general->idioms So, just set the language in your browser for the same default language from the oscommece
kayss Posted February 18, 2006 Posted February 18, 2006 I resolve, seting in my browser (Internet Explorer) the idioms english for portuguese in tools->options->general->idiomsSo, just set the language in your browser for the same default language from the oscommece It is a solution, but not everybody have in IE this setting (your default language). For you it's ok but for your customers not. Regards!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.