how to say talking
the translator said it was hablar but i thought that was to talk
You are correct that "hablar" is the infinitive of the verb and means "to talk".
"Talking" is the gerund of the verb and you will find it to be "hablando".
On this page you can see the full conjugation of "hablar" ----> Hablar conjugated
On this page you can see the gerund explained ----> Gerunds
This should be a help to you.
Mejor recuerdos/Best regards,