src/Traits/Translatable.php
public function getAttribute($attribute)
    {
        // Return the raw value of a translatable attribute if requested
        if ($this->rawValueRequested($attribute)) {
            $rawAttribute = snake_case(str_replace('raw', '', $attribute));
            return $this->attributes[$rawAttribute];
        }
        // Return the translation for the given attribute if available
        if ($this->isTranslated($attribute)) {
            return $this->translate($attribute);
        }
        // Return parent
        return parent::getAttribute($attribute);
    }
public function getAttribute($attribute)
    {
        // Return the raw value of a translatable attribute if requested
        if ($this->rawValueRequested($attribute)) {
            $rawAttribute = snake_case(str_replace('raw', '', $attribute));
            return $this->attributes[$rawAttribute];
        }
        // Return the translation for the given attribute if available
        if ($this->isTranslated($attribute)) {
            return $this->translate($attribute);
        }
        // Return parent
        return parent::getAttribute($attribute);
    }
public function getAttribute ( $ attribute ) { // Return the raw value of a translatable attribute if requested if ( $ this -> rawValueRequested ( $ attribute ) ) { $ rawAttribute = snake_case ( str_replace ( 'raw' , '' , $ attribute ) ) ; return $ this -> attributes [ $ rawAttribute ] ; } // Return the translation for the given attribute if available if ( $ this -> isTranslated ( $ attribute ) ) { return $ this -> translate ( $ attribute ) ; } // Return parent return parent :: getAttribute ( $ attribute ) ; }
Hijack parent's getAttribute to get the translation of the given field instead of its value.

@param  string  $key  Attribute name
@return mixed
Hijack parent s getAttribute to get the translation of the given field instead of its value .