classes/Models/Base.php
public function scopeOtherLocalizations($query)
    {
        return $query->where('locale_group', $this->locale_group)
            ->where($this->getKeyName(), '!=', $this->getKey());
    }
public function scopeOtherLocalizations($query)
    {
        return $query->where('locale_group', $this->locale_group)
            ->where($this->getKeyName(), '!=', $this->getKey());
    }
public function scopeOtherLocalizations ( $ query ) { return $ query -> where ( 'locale_group' , $ this -> locale_group ) -> where ( $ this -> getKeyName ( ) , '!=' , $ this -> getKey ( ) ) ; }
Get localized siblings of this model

@param  Illuminate\Database\Query\Builder $query
@return Illuminate\Database\Query\Builder
Get localized siblings of this model