View Single Post

  #7 (permalink)  
Old 11-04-2008, 11:43 AM
ziycon's Avatar
ziycon ziycon is offline
Wannabe Geek
 
Join Date: Jan 2007
Location: Dublin
Posts: 410
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ziycon will become famous soon enough
Send a message via MSN to ziycon Send a message via Skype™ to ziycon
Default

Quote:
Originally Posted by Forbairt View Post
You're kinda contradicting yourself here ...

If you're planning on having en.site.com or site.com/en ... then having the page stay the same but changing language is a bit crazy no ?

For indexing purposes as well ... having Javascript links to the other languages isn't really ideal.
Well originally i was planning on just having a session variable that would have 'en' or 'fr' and based on that then an include('lang/'.$_SESSION['lang'].'.php'); on each page and if the lang session variable isn't set then default it to 'en', the problem is just not sure how to change the language, like said before AJAX wouldn't be recommend, so not sure where to go from that!?
Reply With Quote