YOU SAID:
when the horse crossed the road, it felt happy
INTO JAPANESE
馬が道路を横切ったとき、それは幸せを感じた
BACK INTO ENGLISH
it felt happy when the horse crossed the road
INTO JAPANESE
それは、馬が道路を横切ったときに幸せを感じた
BACK INTO ENGLISH
it felt happy when the horse crossed the road
You've done this before, haven't you.