Default language displayed was english even though in setup I used Romanian...
It seems that osCommerce checks browser language and displays that as default language. On way to solve this is:
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();
}
Comment the line of code
//$lng->get_browser_language();And you should have this solved.

1 comment:
Very Important query in this post.
I always get this error. thanks to share solution of this error.
thanks
oscommerce developer
Post a Comment