Translation::load()
Loads the translation from the json file in Kirby's translations folder
Translation::load(string $code, string $root, array $inject = [ ]): Kirby\Cms\Translation
Parameters
| Name | Type | Default |
|---|---|---|
| $coderequired | string |
no default value |
| $rootrequired | string |
no default value |
| $inject | array |
[ ]
|