YOU SAID:
She wanted to go to the beach to get a suntan
INTO JAPANESE
彼女は日焼けしにビーチに行きたかった
BACK INTO ENGLISH
She wanted to go to the beach to get a Tan
INTO JAPANESE
彼女は日焼けをしにビーチに行きたかった
BACK INTO ENGLISH
She wanted to go to tanning on the beach
INTO JAPANESE
彼女はビーチで日焼けに行きたかった
BACK INTO ENGLISH
She wanted to go to the tanning on the beach
INTO JAPANESE
彼女はビーチで日焼けに行きたかった
BACK INTO ENGLISH
She wanted to go to the tanning on the beach
That didn't even make that much sense in English.