YOU SAID:
please shut the doors when raining
INTO JAPANESE
雨が降るときはドアを閉めてください
BACK INTO ENGLISH
Please close the door when it rains
INTO JAPANESE
雨が降ったらドアを閉めてください
BACK INTO ENGLISH
Please close the door when it rains
That didn't even make that much sense in English.