summaryrefslogtreecommitdiff
path: root/doc/plugin-registration.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugin-registration.markdown')
-rw-r--r--doc/plugin-registration.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/plugin-registration.markdown b/doc/plugin-registration.markdown
index f212fc2e..03b3c841 100644
--- a/doc/plugin-registration.markdown
+++ b/doc/plugin-registration.markdown
@@ -86,7 +86,7 @@ Plugin can be translated in the same way as the rest of the application. You mus
```php
$this->on('app.bootstrap', function($container) {
- Translator::load($container['config']->getCurrentLanguage(), __DIR__.'/Locale');
+ Translator::load($container['language']->getCurrentLanguage(), __DIR__.'/Locale');
});
```