Here's a more accurate translation:
"You start to learn when you speak Portuguese."
Here are some more natural ways to express the same idea in Portuguese:
* "Você começa a aprender quando fala português."
* "Você aprende falando português."
* "Aprender português começa com a prática da fala."
These translations emphasize the importance of speaking the language to learn it effectively.