Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language doen't take effect


allright

Recommended Posts

Posted

Dear all,

 

My osc store has two languages setting, English & Chinese.

 

I added a button of "Contact Us" in the mainpage, which is linked to /catalog/contact_us.php.

 

When I click language "Chinese", everything seems to work properly and all show Chinese content. However, when I click the button of the above "Contact Us", then everything becomes as English.

 

It is noticed that in /catalog/contact_us.php, there is a line as following to determine the current language:

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);

 

But, why doen't it take effect and keep to be language Chinese? Please kindly advise, thank you very much!

 

Best regards,

allright

Posted

Have you translated the includes/language/chinses/contact_us.php?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
Have you translated the includes/language/chinses/contact_us.php?

Yes, all the files inside /includes/language/chinses/ are in Chinese.

 

The only problem is: /includes/contact_us.php doens't lead to a correct language setting...

 

May I repeat the problem description:

Now if I choose Chinese and everything is displaying properly, but, if I run /includes/contact_us.php/, then everything goes to English...that's the problem, it doesn't remember and latch the Chinese language setting.

Archived

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

×
×
  • Create New...