A movie about the life of a generation of women

I’ve been trying for years to find the name of a movie I’ve watched last time around 2006-2007. The plot was about a woman working hard for living. She’s giving birth to a child and I think she’s dying during the labor. The era is around 1920s I guess during war and there is also a trip with a big ship. Then the film continues showing the life of the daughter who also gives birth to a girl. Can anyone help me please? The first time I watched this film was with my grandmother and we were having a nice conversation together. Unfortunately she passed away couple of years ago and I miss doing different things with her.