$kirby->translation()
Load a specific translation by locale
$kirby->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
This method modifies the existing $app
object it is applied to and returns it again.