
You have to treat her like a pup of 8 weeks old.
Also if she was kept in a crate too long and learnt to be dirty I would abandon the crate altogether to break the association of weeing in her bed. Hopefully given the option she will move away from her bed to another part of a the room which will have an easily cleaned floor, so a kitchen, utility or bathroom.
My Friend had an unhousetrained pup of 9 months as he had been in Quarantine, and had to remember that he didn't know anything that he would normally know at this age.
Don't allow her freedom in the house unless you are watching her every minute.,
Take her out for frequent trips to toilet.
Remember many dog never ask to go out to toilet, but rely on frequent opportunities being provided.
None of my current dogs obviously ask to go..