Neos.Neos/Classes/Controller/Backend/BackendController.php
public function xliffAsJsonAction($locale)
    {
        $this->response->setHeader('Content-Type', 'application/json');
        $this->response->setHeader('Cache-Control', 'max-age=' . (3600 * 24 * 7));

        return $this->xliffService->getCachedJson(new Locale($locale));
    }
public function xliffAsJsonAction($locale)
    {
        $this->response->setHeader('Content-Type', 'application/json');
        $this->response->setHeader('Cache-Control', 'max-age=' . (3600 * 24 * 7));

        return $this->xliffService->getCachedJson(new Locale($locale));
    }
public function xliffAsJsonAction ( $ locale ) { $ this -> response -> setHeader ( 'Content-Type' , 'application/json' ) ; $ this -> response -> setHeader ( 'Cache-Control' , 'max-age=' . ( 3600 * 24 * 7 ) ) ; return $ this -> xliffService -> getCachedJson ( new Locale ( $ locale ) ) ; }
Returns the cached json array with the xliff labels

@param string $locale
@return string
@throws \Neos\Flow\I18n\Exception
@throws \Neos\Flow\I18n\Exception\InvalidLocaleIdentifierException
Returns the cached json array with the xliff labels