I have the following path defined in my routing.yml:
path: '/department/{department_node}/qualifications/{qualification_id}'
I need to translate that route into other languages, for example into Spanish:
path: '/departamento/{department_node}/titulaciones/{qualification_id}'
department_node would be a "department" node
qualification_id would be a dynamic id from a web service
So the result should be:
en: /department/department-title/qualifications/99
es: /departamento/department-title/titulaciones/99
As the qualification_id is a dynamic value, I can't create an alias, as I would have many after a while and they would be out of date. Does anyone know any method of translating the routes in this case?