Angular 6 router - replace some of the parameters of the current route
问题 In my Angular 6 solution, the urls have this structure: /{language}/{app_section}/{object_id}/{view}?queryparams... A language selector component is shared by all sections of the application, and is included in the template of one of the parent routes so that it appears in all the children routes. When a user selects a new language, the component should replace only the {language} segment of the current route, leaving everything else unchanged, and navigate to the new route. It seems it