$site->detectedLanguage()

Returns the detected language

  • return ($language)