kinaski
03-11-2008, 03:17 AM
Hello to all!
I'm trying to setup my new php site, which is bilingual (english/french) in a way that each of the separate language versions use different domains (which I already have - two domains and one install of the site).
Right now my site is functioning with manual language switching.
Thou I'm not good enough with php I suppose that the language versions are maintained on the session level. So I got something like this: .mysite.com/index.php?lang=en for english and .mysite.com/index.php?lang=fr for french version.
What I want to do is apply some kind of apache/php/.htaccess redirects in my site so that when users select english domain(www.mysite.com) the english language is automatically selected, and when they go to the french domain(www.monsite.com) to switch to french version.
Is this possible??
Thank you in advance!
I'm trying to setup my new php site, which is bilingual (english/french) in a way that each of the separate language versions use different domains (which I already have - two domains and one install of the site).
Right now my site is functioning with manual language switching.
Thou I'm not good enough with php I suppose that the language versions are maintained on the session level. So I got something like this: .mysite.com/index.php?lang=en for english and .mysite.com/index.php?lang=fr for french version.
What I want to do is apply some kind of apache/php/.htaccess redirects in my site so that when users select english domain(www.mysite.com) the english language is automatically selected, and when they go to the french domain(www.monsite.com) to switch to french version.
Is this possible??
Thank you in advance!