Localize routes rework

Fixes localize routes which worked locally but blew up when mount as an engine.