I have an HTML 5/PHP/MySQL website that is available in two languages, French and English. Currently, if you choose the language selector to go to another language, you end up on the Home page for that language.

I would like to change the action such that when you choose the language, you land on the identical page you were on, but in the new language. For example, if my menu items are:


Contact Us


If I am located at the "Contact Us" page, when I pick French from the language selector, then I would like to land on the French equivalent "Contactez nous"

Can anyone help me?