diff options
Diffstat (limited to 'doc/plugin-registration.markdown')
-rw-r--r-- | doc/plugin-registration.markdown | 2 |
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'); }); ``` |