public function postPublish($group) { $this->manager->exportTranslations($group); return ['status' => 'ok']; }
/** * Execute the console command. * * @return void */ public function fire() { $group = $this->argument('group'); $this->manager->exportTranslations($group); $this->info("Done writing language files for " . ($group == '*' ? 'ALL groups' : $group . " group")); }