The Foreign Service Institute training is also full-time, 8+ hours a day, working with dedicated tutors in small groups. Basically, it's your job to learn the language.
This isn't taking a semester of high school language instruction or playing with Duolingo for six months. It's basically doing nothing else during working hours and maybe homework for over half a year in what would have probably been close to a $100K crash course.