It's quite easy in Php:
<?php
$language = $_SERVER['HTTP_ACCEPT_LA NGUAGE'];
$language_short = substr($taal,0, 2);
echo $language_short ;
?>
But would love to do it in Javascript..... .
Anybody?
Many thanks in advance!!
Edo.
<?php
$language = $_SERVER['HTTP_ACCEPT_LA NGUAGE'];
$language_short = substr($taal,0, 2);
echo $language_short ;
?>
But would love to do it in Javascript..... .
Anybody?
Many thanks in advance!!
Edo.
Comment