/**
  * Create a new language
  *
  * @param string $name
  * @return Language
  */
 public function createLanguage($name)
 {
     return $this->language->create(compact('name'));
 }
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $translation = ['key' => 'email', 'value' => 'Email'];
     $this->dispatch(new CreateTranslationCommand(Language::first(), Group::first(), $translation));
 }