Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange Language Phenomena


Recommended Posts

I hope I'm in the right area. I ran into some strange language behavior upon adding a couple new pages. (See post above)

 

Using OSC ms2.2 and STS 2.01

 

Upon changing language the page display ok initially. However when one clicks any link to pages such as shipping.php, contact_us.php an error is returned saying it can't find the language directory. Instead of looking for /includes/languages/espanol/ it is looking for includes/languages/es. Switching back to English results in the same behavior; /includes/languages/en instead of /english.

 

application_top.php line 285 is referenced

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

I can't figure why it is interpreting $language as en instead of english?!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...