他违反了交通规则。
tā wéifǎn le jiāotōng guīzé 。
He violated the traffic rules.
公司不能违反合同的规定。
gōngsī bùnéng wéifǎn hétóng de guīdìng 。
The company cannot violate the provisions of the contract.
如果你违反了学校的规定,你会受到惩罚。
rúguǒ nǐ wéifǎn le xuéxiào de guīdìng , nǐhuì shòudào chéngfá 。
If you violate the school's regulations, you will be punished.