Breakdown of sensei ni orei o iimashita.
Questions & Answers about sensei ni orei o iimashita.
Here, に marks the person the action is directed toward.
In this sentence, the action is 言いました (said / expressed), and 先生に means to the teacher.
So:
- 先生に = to the teacher
- お礼を言いました = expressed thanks / said धन्यवाद? no, in Japanese, gave thanks
With verbs of speaking, に often marks the person you speak to:
- 先生に話しました = I spoke to the teacher.
- 友だちに言いました = I said it to my friend.
