public function clientLang()
	{
		if ( isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ) {

			$language = explode(',', preg_replace('/(;\s?q=[0-9\.]+)|\s/i', '', strtolower(trim($_SERVER['HTTP_ACCEPT_LANGUAGE']))));
			return strtolower($language[0]);
		}

		return;
	}
public function clientLang()
	{
		if ( isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ) {

			$language = explode(',', preg_replace('/(;\s?q=[0-9\.]+)|\s/i', '', strtolower(trim($_SERVER['HTTP_ACCEPT_LANGUAGE']))));
			return strtolower($language[0]);
		}

		return;
	}
public function clientLang ( ) { if ( isset ( $ _SERVER [ 'HTTP_ACCEPT_LANGUAGE' ] ) ) { $ language = explode ( ',' , preg_replace ( '/(;\s?q=[0-9\.]+)|\s/i' , '' , strtolower ( trim ( $ _SERVER [ 'HTTP_ACCEPT_LANGUAGE' ] ) ) ) ) ; return strtolower ( $ language [ 0 ] ) ; } return ; }
Get user's browser language preference

@return string

@deprecated will be remove in major release v1.0.0
Get user s browser language preference