public function register()
{
$this->mergeConfigFrom(__DIR__ . '/../config/linguist.php', 'linguist');
$locale = defined('LOCALE') ? LOCALE : $this->app->config->get('linguist.default');
$this->app->config->set('app.locale', $locale);
$this->app->bind('linguist', function () {
return $this->app->make('Keevitaja\\Linguist\\Services\\Linguist');
});
$this->app->bind('linguisthtmlbuilder', function () {
return $this->app->make('Keevitaja\\Linguist\\Services\\HtmlBuilder');
});
}