Skip to content

Kirby 3.7.5

$apptranslations->translation()

Load a specific translation by locale

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

Parameters

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

Return type

Kirby\Cms\Translation

Parent class

Kirby\Cms\AppTranslations