ESV: "When you draw near to a city to fight against it, offer terms of peace to it.
NIV: When you march up to attack a city, make its people an offer of peace.
NASB: When you approach a city to fight against it, you shall offer it terms of peace.
CSB: "When you approach a city to fight against it, make an offer of peace.
NLT: As you approach a town to attack it, you must first offer its people terms for peace.
KJV: When thou comest nigh unto a city to fight against it, then proclaim peace unto it.
NKJV: “When you go near a city to fight against it, then proclaim an offer of peace to it.