/** * 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")); }
public function postPublish($group) { $this->manager->exportTranslations($group); return back()->with('successPublish', 'publication done !!!'); }