code: public function getDataTablesI18nAction()
      {
          $locale = $this->get('request_stack')->getCurrentRequest()->getLocale();
          $format = $this->get('request_stack')->getCurrentRequest()->getRequestFormat();
  
          return $this->render(
              'AdminBundle:Default/DataTables_i18n:'.$locale.'.txt.'.$format
          );
      }
docs: Returns the DataTables i18n file
  
  @return Response
  
  @Route("/dataTables.{_format}" , requirements={ "_format" = "json" }, defaults={ "_format" = "json" })
  @Method("GET")