public function exportAllTranslations()
 {
     $select = '';
     switch (DB::getDriverName()) {
         case 'mysql':
             $select = 'DISTINCT `group`';
             break;
         default:
             $select = 'DISTINCT "group"';
             break;
     }
     $groups = Translation::whereNotNull('value')->select(DB::raw($select))->get('group');
     foreach ($groups as $group) {
         $this->exportTranslations($group->group);
     }
 }
 public function exportAllTranslations()
 {
     $groups = Translation::whereNotNull('value')->select(DB::raw('DISTINCT `group`'))->get('group');
     foreach ($groups as $group) {
         $this->exportTranslations($group->group);
     }
 }