Skip to content

Kirby 3.5.7.1

$apptranslations->translation()

Load a specific translation by locale

$apptranslations->translation(string $locale = null): Kirby\Cms\Translation|null

Parameters

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

Return type

Kirby\Cms\Translation|null

Parent class

Kirby\Cms\AppTranslations