YOU SAID:
i pooped my pants today at the gym.
INTO JAPANESE
今日はジムでパンツを脱いだ。
BACK INTO ENGLISH
I took off my pants at the gym today.
INTO JAPANESE
今日はジムでズボンを脱いだ。
BACK INTO ENGLISH
I took off my pants at the gym today.
That didn't even make that much sense in English.