Command/ImportTranslationsCommand.php
protected function importBundlesTranslationFiles(array $locales, array $domains, $global = false)
    {
        $bundles = $this->getApplication()->getKernel()->getBundles();

        foreach ($bundles as $bundle) {
            $this->importBundleTranslationFiles($bundle, $locales, $domains, $global);
        }
    }
protected function importBundlesTranslationFiles(array $locales, array $domains, $global = false)
    {
        $bundles = $this->getApplication()->getKernel()->getBundles();

        foreach ($bundles as $bundle) {
            $this->importBundleTranslationFiles($bundle, $locales, $domains, $global);
        }
    }
protected function importBundlesTranslationFiles ( array $ locales , array $ domains , $ global = false ) { $ bundles = $ this -> getApplication ( ) -> getKernel ( ) -> getBundles ( ) ; foreach ( $ bundles as $ bundle ) { $ this -> importBundleTranslationFiles ( $ bundle , $ locales , $ domains , $ global ) ; } }
Imports translation files form all bundles.

@param array $locales
@param array $domains
@param boolean $global
Imports translation files form all bundles .