I think it's never to late to train a Yorkie. They are very smart, after all.
It may just take more time as they get older, you can try to reward her greatly after she goes potty in the right place (with treats and use lots of praise). After time, I think she can "get it".
Good luck!