Sauf erreur de ma part, empty gère le cas !isset, donc tu peux simplifier ta condition en :

if (empty($_SESSION['langue_pref']) ) {
$_SESSION['langue_pref'] = $langue_pref ;
}