Moved locale definition inhouse.