From 55ee906ba36cf66c3a390c98dde75e241de26e65 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 May 2016 18:05:33 -0400 Subject: Added support for language LDAP attribute --- doc/plugin-registration.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/plugin-registration.markdown') 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'); }); ``` -- cgit v1.2.3