How to potty train..

My girl turned two years old on January and she doesn't talk much. She understands everything but won't repeat words just saying a few words.. how to potty train her if she can't tell me when she has to poop or pee?