public function translations()
    {
        return $this->hasMany(Voyager::model('Translation'), 'foreign_key', $this->getKeyName())
            ->where('table_name', $this->getTable())
            ->whereIn('locale', config('voyager.multilingual.locales', []));
    }
public function translations()
    {
        return $this->hasMany(Voyager::model('Translation'), 'foreign_key', $this->getKeyName())
            ->where('table_name', $this->getTable())
            ->whereIn('locale', config('voyager.multilingual.locales', []));
    }
public function translations ( ) { return $ this -> hasMany ( Voyager :: model ( 'Translation' ) , 'foreign_key' , $ this -> getKeyName ( ) ) -> where ( 'table_name' , $ this -> getTable ( ) ) -> whereIn ( 'locale' , config ( 'voyager.multilingual.locales' , [ ] ) ) ; }
Load translations relation.

@return mixed
Load translations relation .