I am making a website in 2 languages. Is it possible to check it in which country the user is, so that I can switch the language automatically for the user? I also have a switch option in my menu with a _GET. I have this piece of code in the beginning:
if (isset($_GET['taal'])) {
$taal = $_GET['taal'];
} else {
$taal = 'ENG';
}
switch ($taal) {
case 'NL':
include('NL.php');
break;
case 'ENG':
include('ENG.php');
break;
default:
include('ENG.php');
break;
}