rgplanet Posted February 16, 2009 Share Posted February 16, 2009 Ok, I think I did something very bad... I created different files for differents section I wanted to add. I wrote the text of these sections (for example, email list -http://www.sendapackage.com/catalog/emailsignup.php-) inside the file with links and different things. Now, I want to add the spanish version and I can create another file for it but, how I do that when somebody click in email list (for example), it goes to one or other depending of the languaje he/she is? Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted February 16, 2009 Share Posted February 16, 2009 Have you thought of adding some php that tests for the current language and going to a different link depending on the language? You will need to update te code every time you add a new language unless the language name is in the link. Alternatively you can make the destination page "translatable" just like all the other pages in osc 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 ======>>>>>. Link to comment Share on other sites More sharing options...
rgplanet Posted February 16, 2009 Author Share Posted February 16, 2009 How I can do the adding some php that tests for the current language and going to a different link depending on the language? This is what I need... Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted February 16, 2009 Share Posted February 16, 2009 As a first step, google on site:www.oscommerce.com/forums language[iD] www.w3schools.com for html links and 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 ======>>>>>. Link to comment Share on other sites More sharing options...
rgplanet Posted February 18, 2009 Author Share Posted February 18, 2009 Wow, you are going to think I am stupid but I dont know how to do it. I have been two days trying but nothing... I only need that, when someone click in one link, it looks in the languaje and, depending of it, goes to one file or another. I think it is possible but I still dont know how. Thanks for the help... Link to comment Share on other sites More sharing options...
rgplanet Posted February 18, 2009 Author Share Posted February 18, 2009 Please... help... I am going crazy with this... Thanks, Roger. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.