"I'll have a transit in Korea on my way there, but on my way back, I'll stay overnight in Korea before returning to Japan."
"I'll have a transit in Korea on my way there, but on my way back, I'll stay overnight in Korea before returning to Japan."
「行きはトランジットで韓国に寄る」という場合、直訳として"I'll have a transit in Korea on my way there"が適切です。ここでの "transit" は乗り換えや一時停留を意味します。