public function xliffAsJsonAction($locale) { $this->response->setHeader('Content-Type', 'application/json'); return $this->xliffService->getCachedJson(new Locale($locale)); }