code: public function getPublish($group)
      {
          if ($group && $group != '*') {
              $this->manager->exportTranslations($group);
          } else {
              $this->manager->exportAllTranslations();
          }
          $errors = $this->manager->errors();
  
          event(new TranslationsPublished($group, $errors));
          return Response::json(array('status' => $errors ? 'errors' : 'ok', 'errors' => $errors));
      }
docs: Test for postPublish
  @param $group
  @return \Illuminate\Http\JsonResponse