The language segment should be excluded before parsing the global routes.