YOU SAID:
I have great kids when they're sleeping
INTO JAPANESE
彼らが寝ているとき私には素晴らしい子供がいます
BACK INTO ENGLISH
I have a great kid when they are sleeping
INTO JAPANESE
彼らが寝ているとき、私には素晴らしい子供がいます
BACK INTO ENGLISH
I have a great kid when they are sleeping
That didn't even make that much sense in English.