YOU SAID:
He likes to sleep somewhat near her
INTO JAPANESE
彼は彼女の近くで寝るのが好きです
BACK INTO ENGLISH
he likes to sleep next to her
INTO JAPANESE
彼は彼女の隣で寝るのが好きです
BACK INTO ENGLISH
he likes to sleep next to her
That didn't even make that much sense in English.