Jump to content
Sign in to follow this  
HQ Secure

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?!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this