Classes/Hook/SitemapIndexPageHook.php
protected function checkIfNoLanguageFallback()
    {
        $tsfe = self::getTsfe();
        // Check if we have fallen back to a default language
        if (GeneralUtility::getLanguageId() !== $tsfe->sys_language_uid) {
            return false; //don't index untranslated page
        }
        return true;
    }
protected function checkIfNoLanguageFallback()
    {
        $tsfe = self::getTsfe();
        // Check if we have fallen back to a default language
        if (GeneralUtility::getLanguageId() !== $tsfe->sys_language_uid) {
            return false; //don't index untranslated page
        }
        return true;
    }
protected function checkIfNoLanguageFallback ( ) { $ tsfe = self :: getTsfe ( ) ; // Check if we have fallen back to a default language if ( GeneralUtility :: getLanguageId ( ) !== $ tsfe -> sys_language_uid ) { return false ; //don't index untranslated page } return true ; }
Returns True if language chosen by L= parameter matches language of content
Returns False if content is in fallback language

@return bool
Returns True if language chosen by L = parameter matches language of content Returns False if content is in fallback language