Controller/TranslationController.php
public function overviewAction()
    {
        /** @var StorageInterface $storage */
        $storage = $this->get('lexik_translation.translation_storage');

        $stats = $this->get('lexik_translation.overview.stats_aggregator')->getStats();

        return $this->render('@LexikTranslation/Translation/overview.html.twig', array(
            'layout'         => $this->container->getParameter('lexik_translation.base_layout'),
            'locales'        => $this->getManagedLocales(),
            'domains'        => $storage->getTransUnitDomains(),
            'latestTrans'    => $storage->getLatestUpdatedAt(),
            'stats'          => $stats,
        ));
    }
public function overviewAction()
    {
        /** @var StorageInterface $storage */
        $storage = $this->get('lexik_translation.translation_storage');

        $stats = $this->get('lexik_translation.overview.stats_aggregator')->getStats();

        return $this->render('@LexikTranslation/Translation/overview.html.twig', array(
            'layout'         => $this->container->getParameter('lexik_translation.base_layout'),
            'locales'        => $this->getManagedLocales(),
            'domains'        => $storage->getTransUnitDomains(),
            'latestTrans'    => $storage->getLatestUpdatedAt(),
            'stats'          => $stats,
        ));
    }
public function overviewAction ( ) { /** @var StorageInterface $storage */ $ storage = $ this -> get ( 'lexik_translation.translation_storage' ) ; $ stats = $ this -> get ( 'lexik_translation.overview.stats_aggregator' ) -> getStats ( ) ; return $ this -> render ( '@LexikTranslation/Translation/overview.html.twig' , array ( 'layout' => $ this -> container -> getParameter ( 'lexik_translation.base_layout' ) , 'locales' => $ this -> getManagedLocales ( ) , 'domains' => $ storage -> getTransUnitDomains ( ) , 'latestTrans' => $ storage -> getLatestUpdatedAt ( ) , 'stats' => $ stats , ) ) ; }
Display an overview of the translation status per domain.

@return \Symfony\Component\HttpFoundation\Response
Display an overview of the translation status per domain .