And the people being all assembled together, both men and women, children and strangers, that are within thy gates: that hearing they may learn, and fear the Lord your God, and keep, and fulfil all the words of this law:
Douay-Rheims Bible (Challoner revision)
And when the people have gathered together, men as well as women and little children, and the new arrivals who are within your gates, they shall listen so that they may learn, and may fear the Lord your God, and may keep and fulfill all the words of this law,
Quoted word for word, in order of authority: the Church's councils, popes and catechisms first, then the Fathers, then later saints and Doctors, then Catholic commentators.
Catholic commentators
Fr. George Leo Haydock
Priest and commentator · 1774 to 1849
Explains this verse
Children, (parvulis.) Those who were above 12 years of age, attended the festivals as much as possible, particularly the three great ones. Even little children came to the temple, when they did not live at too great a distance. The lawgiver knew of what importance it was to inspire their tender minds with a love and respect for religion, and for the laws. C.
Haydock Catholic Bible Commentary (1859), note on Deuteronomy 31:12
To cite this page: The Summa, “Deuteronomy 31:12”, https://thesumma.org/read/bible/ot/deuteronomy/31/12. Every quotation names its source; where each text comes from is listed on Sources and corrections.
Deuteronomy 31:12: what the Church says (Councils, Fathers, Doctors) · The Summa