public function removeExistingTranslation($languageCode)
    {
        return $this->translations()
            ->where('file_id', $this->id)
            ->where('language_code', $languageCode)
            ->delete();
    }
public function removeExistingTranslation($languageCode)
    {
        return $this->translations()
            ->where('file_id', $this->id)
            ->where('language_code', $languageCode)
            ->delete();
    }
public function removeExistingTranslation ( $ languageCode ) { return $ this -> translations ( ) -> where ( 'file_id' , $ this -> id ) -> where ( 'language_code' , $ languageCode ) -> delete ( ) ; }
Function removes file translations in provided language code

@param string $languageCode language code

@return mixed
Function removes file translations in provided language code