public function detect($lookupAlternative = true)
    {
        if (!self::$initialized) {
            self::$initialized = $this->init($lookupAlternative);
        }

        return $this;
    }
public function detect($lookupAlternative = true)
    {
        if (!self::$initialized) {
            self::$initialized = $this->init($lookupAlternative);
        }

        return $this;
    }
public function detect ( $ lookupAlternative = true ) { if ( ! self :: $ initialized ) { self :: $ initialized = $ this -> init ( $ lookupAlternative ) ; } return $ this ; }
This method is intend to detect the user preferred locale.

@param bool $lookupAlternative TRUE to try to find a matching locale, FALSE to use systems default as fallback

@author Benjamin Carl <opensource@clickalicious.de>

@return Doozr_I18n_Service_Detector Instance for chaining
This method is intend to detect the user preferred locale .