diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php index 82ec353d52..ef06d0624c 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php @@ -144,6 +144,8 @@ EOF $this->translator = $this->getContainer()->get('translator'); $this->reader = $this->getContainer()->get('translation.reader'); $this->extractor = $this->getContainer()->get('translation.extractor'); + $this->defaultTransPath = $this->getContainer()->getParameter('translator.default_path'); + $this->defaultViewsPath = $this->getContainer()->getParameter('twig.default_path'); } $io = new SymfonyStyle($input, $output); diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php index c7dff1cc74..5d63fc8dc0 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php @@ -138,6 +138,8 @@ EOF $this->reader = $this->getContainer()->get('translation.reader'); $this->extractor = $this->getContainer()->get('translation.extractor'); $this->defaultLocale = $this->getContainer()->getParameter('kernel.default_locale'); + $this->defaultTransPath = $this->getContainer()->getParameter('translator.default_path'); + $this->defaultViewsPath = $this->getContainer()->getParameter('twig.default_path'); } $io = new SymfonyStyle($input, $output);