YOU SAID:
wh at t he helll is going on
INTO JAPANESE
彼は一体何が起こっているのか
BACK INTO ENGLISH
What on earth is he going to do?
INTO JAPANESE
彼は一体何をするつもりですか?
BACK INTO ENGLISH
What on earth is he going to do?
That didn't even make that much sense in English.