He went there to register with Mary, who was pledged to him in marriage and was expecting a child.
Berean Standard Bible (BSB)
to enroll himself with Mary, who was pledged to be married to him as wife, being pregnant.
World English Bible (WEB)
To be taxed{G583}{(G5670)} with{G4862} Mary{G3137} his{G846} espoused{G3423}{(G5772)} wife{G1135}, being{G5607}{(G5752)} great with child{G1471}.
Strong's King James
(5) to enrol along with Miryam (bitter) betrothed to him being pregnant.
The F.O.G
The F.O.G Message
to enrol himself with Mary his betrothed wife, being with child.
Young's Literal Translation