If you're talking about the language, we normally use "speak", not "talk".
I was speaking [in] Spanish with a friend yesterday.
He speaks in English on the phone every day.
We don't necessarily use "in". I speak Spanish. He speaks English every day.
I think it's better to use "speak" when the subject is languages. You wouldn't ask someone "How many languages do you talk?" or "Do you talk German?"