A woman giving birth to a child has pain because her time has come; but when her baby is born she forgets the anguish because of her joy that a child is born into the world.
NIV
A woman, when she gives birth to a child, has grief (anguish, agony) because her time has come. But when she has delivered the child, she no longer remembers her pain (trouble, anguish) because she is so glad that a man (a child, a human being) has been born into the world.
AMP
A woman when she is in travail hath sorrow, because her hour is come: but as soon as she is delivered of the child, she remembereth no more the anguish, for joy that a man is born into the world.
KJV
So with you: Now is your time of grief, but I will see you again and you will rejoice, and no one will take away your joy.
NIV
So for the present you are also in sorrow (in distress and depressed); but I will see you again and [then] your hearts will rejoice, and no one can take from you your joy (gladness, delight).
AMP
And ye now therefore have sorrow: but I will see you again, and your heart shall rejoice, and your joy no man taketh from you.
KJV