A nurse is preparing to administer a macrolide antibiotic to a patient with a respiratory tract infection. The nurse understands that macrolides work by: