src/Traits/Translatable.php
public function translate($language = null, $fallback = true)
    {
        if ($this->relationLoaded('translations')) {
            $this->load('translations');
        }

        return (new Translator($this))->translate($language, $fallback);
    }
public function translate($language = null, $fallback = true)
    {
        if ($this->relationLoaded('translations')) {
            $this->load('translations');
        }

        return (new Translator($this))->translate($language, $fallback);
    }
public function translate ( $ language = null , $ fallback = true ) { if ( $ this -> relationLoaded ( 'translations' ) ) { $ this -> load ( 'translations' ) ; } return ( new Translator ( $ this ) ) -> translate ( $ language , $ fallback ) ; }
Translate the whole model.

@param null|string $language
@param bool[string $fallback

@return Translator
Translate the whole model .