public function getAttributeValue($key) { if (!$this->isTranslatableAttribute($key)) { return parent::getAttributeValue($key); } return $this->getTranslation($key, config('app.locale')); }