/** * Execute the console command. * * @return void */ public function fire() { $this->manager->truncateTranslations(); $this->info("All translations are deleted"); $this->manager->truncateGroups(); $this->info("All Groups are deleted"); $this->manager->truncateLocales(); $this->info("All locales are deleted"); }
/** * 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")); }
/** * Execute the console command. * * @return void */ public function fire() { $counter = $this->manager->importTranslations(); $this->info('Done importing, processed ' . $counter . ' items!'); }
/** * Execute the console command. * * @return void */ public function fire() { $this->manager->cleanTranslations(); $this->info("Done cleaning translations"); }
public function postPublish($group) { $this->manager->exportTranslations($group); return back()->with('successPublish', 'publication done !!!'); }