Another way to say "learning a language is for speaking" is "One reason to learn a language is to be able to speak the language."