Skip to content

Kirby 3.9.8

$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