YOU SAID:
i hate my sister she is ugly
INTO JAPANESE
私は彼女が醜い私の妹が嫌いです
BACK INTO ENGLISH
I hate my sister when she's ugly
INTO JAPANESE
私は彼女が醜いとき、私は私の妹が嫌いです
BACK INTO ENGLISH
I hate my sister when she's ugly
That didn't even make that much sense in English.