Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index in 2 languages


karlCR

Recommended Posts

Posted

I see that in includes/languages/ there is an index.php on each language folder, but how do you link them so that when the oscommerce recognizes or the user select an specific language the index customized information appears on the main page body? Thanks for your help

Posted

You don't need to link them it is part of the basic osc code, this will pull the correct language text onto the screen.

 

Do you have a language selection box on your site?

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

Ok but then it is possible to have 2 different index on each language by having each one of them on each index.php located on the includes/languages/

Posted

If you had a second language called language2 then you need to have all the files in the entire directory structure of /includes/languages/english in /includes/languages/language2.

 

You will also need a copy of /includes/languages/english.php called language2.php

 

Try looking in the contributiona as most language files are available there.

 

G

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 ======>>>>>.

Archived

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

×
×
  • Create New...