Skip to content

Kirby 4.4.1

$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