Skip to content

Kirby 4.5.0

$kirby->detectedLanguage()

Detect the preferred language from the visitor object

$kirby->detectedLanguage(): Kirby\Cms\Language|null

Return type

Kirby\Cms\Language|null

Parent class

Kirby\Cms\App