Jump to content

www.e.g.com/index.php?lang=en with cookies? **solved**


tawevolution

Recommended Posts

Hi,

I have 3 sections to a website Im developing. English, French and German. What I want to be able to do is have the url as somethign like this: mysite.com/index.php?lang=en or lang=de or lang=fr (depending on the language). This can be selected from a drop down box (so the values will be en/fr/de). Then when they select a language, it only shows that language's content. How would I go about doing this? Someone has tried to explain before .... but I actually fell asleep (he was a auzzie, n it was like 2am - meh).

Please help, I can try and explain more if it will help xD

Evo
actually nevermind, i just realise what i have done ... i have been a noob ..... NoOOOOO

lol, sry admins for waisting this space, i have been on here before, and forgot that this q is answered in the pinned topic XD

sorry,

Nooby Evo out....
another question on this topic .... i have a splash page, which sets a cookie for each language (say the cookies name is language_121 and the value is either en/de/fr). how do i do the ?lang=de thing. so the cookie puts it there instead of a form? (e.g. several links on the page, and i want all of them to end with ?lang=##, so can a cookie do that (so i dont haveto have 3 copies of the same page in diff langs?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.