but that doesn't mean you can't marry her. That would be a really lame excuse for you not to marry her.

You should marry her so she could go on with her pregnancy and still work until it's near time for her to give birth. She could give birth here or in her/your home country.

As long as you two has that "marriage contract", that won't be a problem at all.