protected function hasLocalizedVersion()
    {
        if ((bool)$this->getConfig("use_localized_views") && Strata::i18n()->hasActiveLocales()) {
            $localizedFilename =  $this->generateLocalizedViewPath();
            return file_exists($localizedFilename . $this->getConfig('file_extention'));
        }

        return false;
    }
protected function hasLocalizedVersion()
    {
        if ((bool)$this->getConfig("use_localized_views") && Strata::i18n()->hasActiveLocales()) {
            $localizedFilename =  $this->generateLocalizedViewPath();
            return file_exists($localizedFilename . $this->getConfig('file_extention'));
        }

        return false;
    }
protected function hasLocalizedVersion ( ) { if ( ( bool ) $ this -> getConfig ( "use_localized_views" ) && Strata :: i18n ( ) -> hasActiveLocales ( ) ) { $ localizedFilename = $ this -> generateLocalizedViewPath ( ) ; return file_exists ( $ localizedFilename . $ this -> getConfig ( 'file_extention' ) ) ; } return false ; }
Checks whether there is a localized version of the current view in the
current Locale.
@return boolean
Checks whether there is a localized version of the current view in the current Locale .