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 |
|---|---|---|
| $code * | string |
– |
| $root * | string |
– |
| $inject | array |
[ ] |