Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog/include/languages/english.php


jsmithinnovations

Recommended Posts

Posted

OK...went in to edit some of this page and it began to show on my shop Title from ('TITLE', 'osCommerce') and as well HEADER_TITLE_CREATE_ACCOUNT from ('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account') when it should be Create an Account. It appears it is consistantly showing all the first part of those phrases instead of the second part, the true words I want on the page.

 

I installed a second OSCommerce program my web host provides and copied and pasted the entire page from the new, unedited version into my existing shop and it made no difference.

 

Does anyone have any suggestions?

 

Below is my shop if anyone would like to take a look.

 

https://df47.dot5hosting.com/~jsmithin/osCo...talog/index.php

 

Thanks ahead of time.

Posted

Look in catalog/includes/application_top.php and see if you have this code

// set the language
 if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) {
if (!tep_session_is_registered('language')) {
  tep_session_register('language');
  tep_session_register('languages_id');
}

include(DIR_WS_CLASSES . 'language.php');
$lng = new language();

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();
}

$language = $lng->language['directory'];
$languages_id = $lng->language['id'];
 }

// include the language translations
 require(DIR_WS_LANGUAGES . $language . '.php');

If you do then check to see if you have this file

catalog/includes/languages/english.php

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Posted
I have both.

 

Julie if you have the file then it's either wrong or perhaps you put the /admin/includes/languages files in /includes/languages

 

If they are there and are the correct files then it will work

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...