leylailemecnun

$dil = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],0,2);

if ($dil == 'tr') {
header("Location: tr.php");
}