where('category_id', $translation['id']) ->where('locale', 'tm') ->update(array('name'=>$translation['Tm'],$translation['Tm'])); DB::table('category_translations') ->where('category_id', $translation['id']) ->where('locale', 'tm') ->update(array('name'=>$translation['Rus'],$translation['Rus'])); } } }