YOU SAID:
Jonathan went to buy a dish in a restaurant.
INTO JAPANESE
ジョナサンはレストランで料理を買いに行きました。
BACK INTO ENGLISH
Jonathan went to a restaurant to buy food.
INTO JAPANESE
ジョナサンは食べ物を買うためにレストランに行きました。
BACK INTO ENGLISH
Jonathan went to a restaurant to buy food.
Well done, yes, well done!