if you want a more, how should I put this, "graspable" solution, I basically have on my website a regular set of links that keep the $_GET for section and page, while changing the actual .php file.
Basically, that website (http://0x31.x10hosting.com/devcomm) is separated into language, then section, then page.
So a page would be, say, [LANG].php?id=[CATEGORY]&sid=[PAGE]
So if my link looks like this (see below) it will lead me to the equivalent page in another language.
Code:
<a href="./en.php?id="<?php echo($_GET['id'] . "&sid=\"" . $_GET['sid']"); ?>" />