Skip to content

Kirby 4.1.2

$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