$kirby->detectedLanguage()
Detect the preferred language from the visitor object
$kirby->detectedLanguage(): Kirby\Cms\Language|null
Return types
Kirby\Cms\Languageornull
This method modifies the existing $app object it is applied to and returns it again.