Multilanguage support

7 posts by 3 authors in: Forums > CMS Builder
Last Post: December 7, 2010   (RSS)

Hi,
We currently have a site setup with links to either an English or French version.

The problem we are experiencing is, when we are in one of the interior pages of the site and click the other language, we are brought to the home page for that other language, and not the corresponding page which we were just browsing.

See: http://173.236.177.72/proprietes.php, and then click English in the top right and you are brought to the English home page as opposed to the corresponding page which should be: http://173.236.177.72/properties.php

Is there a piece of script available that will allow us to enable the function that has the site switch over to the corresponding page the visitor is on as opposed to taking them back to the homepage?

Thanks for your help. I hope this is clear.
Dan

Re: [Dan Maitland] Multilanguage support

By Chris - December 1, 2010 - edited: December 1, 2010

Hi Dan,

Can you not have a link on your English page like this:

<a href="proprietes.php">Voir cette page en Français</a>

...and a link on your French page like this:

<a href="properties.php">View this page in English</a>

Would that work? If not, why not?
All the best,
Chris

Re: [chris] Multilanguage support

The link to each of the different languages are includes in the header and we would like a way to dynamically switch without having to hard code the link.

i.e. if you are on one of the properties in french and you click the English link at the top it will bring you to the french version of that property.

Re: [Dan Maitland] Multilanguage support

By Jason - December 3, 2010

Hi,

Could you attach a copy of your header file so we can see the code you're using. We can then give you a more specific example of how you can do this.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Multilanguage support

I'm not to sure what you are expecting to see in this file but here it is.
Attachments:

header.php 1K

Re: [Jason] Multilanguage support

Jason,
You are a GOD!!! It works like a freakn charm. I can't thank you enough. Thank you, thank you, thank you!