Putting past events in order in Japanese
Japanese has no separate tense matching English “had done”; context and verb forms show which past event came first. Here, もう with a verb stem plus 終わっていた shows that an action had already finished, while まだ with a verb's て-form plus いなかった means it had not happened yet at the past reference point, rather than simply “was not doing it.” In these examples, the later event takes the past form before とき but the dictionary form before 前に, even though both events happened in the past. Use the polite endings いました and いませんでした with people you do not know well or when speaking politely, and the plain endings いた and いなかった in casual conversation with friends and family.
Words for “already,” “yet,” and “before”
What had already finished: polite and casual forms
後の出来事(過去形)とき、人はもう先の動作(連用形)終わっていました/終わっていた。
- formal
私が起きたとき、姉はもう朝ご飯を食べ終わっていました。
- informal
彼女が起きたときには、もうお皿を洗い終わっていた。
What had not happened yet: polite and casual forms
過去の基準時を表す表現、まだ動詞のて形いませんでした/いなかった。
- formal
八時には、まだご飯を食べていませんでした。
- informal
母が起きたとき、まだお皿を洗っていなかった。
Using 前に to say which event happened first
後の出来事(辞書形)前に、人は先の動作(連用形)終わっていました/終わっていた。
- formal
母が起きる前に、お皿は洗い終わっていました。
- informal
私が起きる前に、姉は朝ご飯を食べ終わっていた。