Quote:
Originally Posted by Forbairt 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!?