$appTranslations->translation()
Load a specific translation by locale
$appTranslations->translation(string|null $locale = null): Kirby\Cms\Translation
Parameters
Name | Type | Default | Description |
---|---|---|---|
$locale | string ornull |
null
|
Locale name or null for the current locale |
Return type
Parent class
Kirby\Cms\AppTranslations