add support for localized routes