Changing languages on a Site
Posted: Tue Jul 31, 2007 7:40 am
Hie you all
I am tryingto redevelop my website to include affiliate offices in some countries. In one country, they speak both English & Portuguese while in the others they speak English.
What I would like is this: someone clicks a particular country (or uses the form on the page) and is led to country.php where
if (country name is set) select country details and also print English links and the name of the country.
if (country) is the portuguese_and_english_country, print the English links and also a link to change the language to Portuguese.
... and if Portuguese is selected, print Portuguese links and the name of the country.
The page is divided into two top rows for the masthead (first) and links (second), then the third row has three columns, with the middle one being the one for the main website content.
Can anyone tell me how I can go about it?
Thanx
I am tryingto redevelop my website to include affiliate offices in some countries. In one country, they speak both English & Portuguese while in the others they speak English.
What I would like is this: someone clicks a particular country (or uses the form on the page) and is led to country.php where
if (country name is set) select country details and also print English links and the name of the country.
if (country) is the portuguese_and_english_country, print the English links and also a link to change the language to Portuguese.
... and if Portuguese is selected, print Portuguese links and the name of the country.
The page is divided into two top rows for the masthead (first) and links (second), then the third row has three columns, with the middle one being the one for the main website content.
Can anyone tell me how I can go about it?
Thanx