Here is what I might do, in the Operation model I will add a new relationship:
public function currentLang()
{
return $this->hasOne(OperationLang::class)->ofMany(
[ 'id' => 'max'],
function($q) {
$q->where('lang', app()->getLocale());
}
);
}
and then:
$operations = Operation::with('currentLang')->where('user_id', 0)->get();
it will eager load just that one. Of course make the modification in the function above to use the correct model and also the column name for which you keep the locale if that's what you have or the id.
Let me know if something like this would work?
P.S. Use latest of the 8th version of Laravel at least for the ofMany to work.