if(isset($_POST['lenguage'])) $_SESSION['idioma'] = $_POST['lenguage'];if(! isset($_SESSION['idioma'])){ $_SESSION['idioma'] = getenv("HTTP_ACCEPT_LANGUAGE"); }