Moses continues to speak to the people of Israel as if they were one man, so all instances of "you" and "your" are singular. (See: [[rc://en/ta/man/translate/figs-you]])
Here "gates" is a reference to the city itself. AT: "within your community" or "inside your city" or "living with you" (See: [[rc://en/ta/man/translate/figs-synecdoche]])