Skip to content

Kirby 4.3.0

$apptranslations->translation()

Load a specific translation by locale

$apptranslations->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\AppTranslations