src/Repositories/TranslationRepository.php
public function delete($id)
    {
        $translation = $this->find($id);
        if (!$translation) {
            return false;
        }

        if ($translation->locale === $this->defaultLocale) {
            return $this->model->whereNamespace($translation->namespace)->whereGroup($translation->group)->whereItem($translation->item)->delete();
        } else {
            return $translation->delete();
        }
    }
public function delete($id)
    {
        $translation = $this->find($id);
        if (!$translation) {
            return false;
        }

        if ($translation->locale === $this->defaultLocale) {
            return $this->model->whereNamespace($translation->namespace)->whereGroup($translation->group)->whereItem($translation->item)->delete();
        } else {
            return $translation->delete();
        }
    }
public function delete ( $ id ) { $ translation = $ this -> find ( $ id ) ; if ( ! $ translation ) { return false ; } if ( $ translation -> locale === $ this -> defaultLocale ) { return $ this -> model -> whereNamespace ( $ translation -> namespace ) -> whereGroup ( $ translation -> group ) -> whereItem ( $ translation -> item ) -> delete ( ) ; } else { return $ translation -> delete ( ) ; } }
Delete a translation. If the translation is of the default language, delete all translations with the same namespace, group and item

@param  integer $id
@return boolean
Delete a translation . If the translation is of the default language delete all translations with the same namespace group and item