[osCommerce] Default language

Magic SEO URLs for CRE Loaded.
apfel2411
Posts: 1
Joined: Mon Mar 10, 2008 5:09 pm

[osCommerce] Default language

Postby apfel2411 » Mon Mar 10, 2008 5:19 pm

Hi,
i have the same problem with oscommerce but both suggestions for CRE Loaded don't work.

Code: Select all

// include the language translations
require(DIR_WS_LANGUAGES . $language . '.php');
// Magic SEO
include(DIR_WS_INCLUDES . 'magic_seo_url.php');


doesn't change anything.

Code: Select all

$lng->get_browser_language();
$HTTP_GET_VARS['language'] = $lng->language['directory'];


gives me http://www.example.com/german/ instead of http://www.example.com/de/

Cookies were deleted.

Thank you

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [osCommerce] Default language

Postby inveo » Tue Mar 11, 2008 4:33 am

Please make sure you have deleted cookies and also closed all instances of your web browser. Original suggestion works for both osCommerce and CRE Loaded.