Skip to content

Kirby 4.4.1

$kirby->translation()

Load a specific translation by locale

$kirby->translation(?string $locale = null): Kirby\Cms\Translation

Parameters

Name Type Default Description
$locale string|null null Locale name or null for the current locale

Return type

Kirby\Cms\Translation

Parent class

Kirby\Cms\App