public function forgetTranslation($key, $locale)
    {
        $translations = $this->getTranslations($key);
        unset($translations[$locale]);

        if ($this->hasSetMutator($key))
            $this->attributes[$key] = $this->asJson($translations);
        else
            $this->setAttribute($key, $translations);

        return $this;
    }
public function forgetTranslation($key, $locale)
    {
        $translations = $this->getTranslations($key);
        unset($translations[$locale]);

        if ($this->hasSetMutator($key))
            $this->attributes[$key] = $this->asJson($translations);
        else
            $this->setAttribute($key, $translations);

        return $this;
    }
public function forgetTranslation ( $ key , $ locale ) { $ translations = $ this -> getTranslations ( $ key ) ; unset ( $ translations [ $ locale ] ) ; if ( $ this -> hasSetMutator ( $ key ) ) $ this -> attributes [ $ key ] = $ this -> asJson ( $ translations ) ; else $ this -> setAttribute ( $ key , $ translations ) ; return $ this ; }
Forget a translation.

@param  string  $key
@param  string  $locale

@return self
Forget a translation .