Probably a semi-learned borrowing from Latin dictāre.
Practice speaking and memorizing "ditar" and many other words and sentences in Portuguese.