By default when you change a theme/language it will redirect you back to the index.php, to change it to go back to the page you was on do this
Find
Added to SVN
Find
header("Location: index.php");Above Add if (isset($_SERVER["HTTP_REFERER"]))
{
header("Location: {$_SERVER["HTTP_REFERER"]}");
return;
}Added to SVN