maybe I should stub locale, but I'm not sure how to do that