Added support for language LDAP attribute

This commit is contained in:
Frederic Guillot
2016-05-07 18:05:33 -04:00
parent aac11a609c
commit 55ee906ba3
28 changed files with 400 additions and 258 deletions

View File

@@ -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');
});
```