adding the structure of the generic url resolver for switching locale