public function stripLanguage($path, $language = null)
    {
        $strip = '/' . ( isset($language) ? $language : $this->getLanguage() );

        if ( strlen($strip) > 1 && strpos($path, $strip) === 0 ) {
            $path = substr($path, strlen($strip));
        }

        return $path;
    }
public function stripLanguage($path, $language = null)
    {
        $strip = '/' . ( isset($language) ? $language : $this->getLanguage() );

        if ( strlen($strip) > 1 && strpos($path, $strip) === 0 ) {
            $path = substr($path, strlen($strip));
        }

        return $path;
    }
public function stripLanguage ( $ path , $ language = null ) { $ strip = '/' . ( isset ( $ language ) ? $ language : $ this -> getLanguage ( ) ) ; if ( strlen ( $ strip ) > 1 && strpos ( $ path , $ strip ) === 0 ) { $ path = substr ( $ path , strlen ( $ strip ) ) ; } return $ path ; }
Strip the language from the URI

@param  string  $path
@param  string  $language Optional. Defaults to the current language.

@return string
Strip the language from the URI