diff options
Diffstat (limited to 'core/FrontController.php')
-rw-r--r-- | core/FrontController.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/FrontController.php b/core/FrontController.php index 8e7c91a0bc..89e91b943b 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -324,17 +324,13 @@ class FrontController extends Singleton $tmpPath . '/templates_c/', ); - Translate::loadEnglishTranslation(); - Filechecks::dieIfDirectoriesNotWritable($directoriesToCheck); $this->handleMaintenanceMode(); $this->handleProfiler(); $this->handleSSLRedirection(); - /** @var Translator $translator */ - $translator = StaticContainer::getContainer()->get('Piwik\Translation\Translator'); - $translator->loadPluginsTranslations('en'); + Plugin\Manager::getInstance()->loadPluginTranslations(); Plugin\Manager::getInstance()->loadActivatedPlugins(); if ($exceptionToThrow) { |