Skip to content

Kirby 4.4.1

$kirby->language()

Returns the language by code or shortcut (default, current).

$kirby->language(?string $code = null): Kirby\Cms\Language|null

Parameters

Name Type Default
$code string|null null

Return type

Kirby\Cms\Language|null

Parent class

Kirby\Cms\App