usually the child learns via example. its easier to teach at 2-3 yrs. With my boys they sit on their porta potty in the bathroom, the only place I allow it. It is NOT a toy to play with. I will not allow it to be moved. it must be in the same bathroom all the and same place. I also refuse to let them be in diapers during the day. They need to FEEL the pee all over themselves and I would put them on the potty when they do that. I always take their clothes off in the same bathroom as their potty and point and talk to them that what its for. I usually put them on kids potty when I go and it pretty much at th same time of day 3 times a day. pretty soon, they got the idea. I have no problem with my kids using diapers at night as they learn more control over the day bladder control. over time- they will say I don't want diapers and I don't fight them with it, and it starts all over with potty training but night time urges. If they can show they pee before bed, no drink after dinner, then I let them go the night without diaper. within a couple month of due diligence, it works.
with my daughter, I let her learn with mommy, and I do help during day, night by reminding her.
hope this helps.