When should I break it to the family?

My boyfriend and I will be together for a year in November. Last month we found out that I'm pregnant. My family is very traditional, the whole no kids before marriage. When and how should I tell my family?