Fix issues with localizations not applying properly

This commit is contained in:
James Brooks
2016-05-26 11:35:00 +01:00
parent 48c4240c38
commit 2b87629dca
3 changed files with 15 additions and 4 deletions
@@ -61,7 +61,7 @@ class ConfigServiceProvider extends ServiceProvider
$this->app->config->set('app.url', $appDomain);
}
if ($appLocale = $this->app->config->get('setting.app.locale')) {
if ($appLocale = $this->app->config->get('setting.app_locale')) {
$this->app->config->set('app.locale', $appLocale);
$this->app->translator->setLocale($appLocale);
}