When I arrived, the shop had closed.

How to say “When I arrived, the shop had closed.” in Japanese

In Japanese

私(わたし)が着(つ)いたとき、店(みせ)はもう閉(し)まっていました。

Watashi ga tsuita toki, mise wa mō shimatte imashita.

When I arrived, the shop had closed. in other languages