Translate path controller 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 &quot;department&quot; 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?
Routes != URLs, you can't translate a route, you only can translate URL aliases.
One route has only one path, which - through optional wildcards - could match more than one URL. Because no single part in your desired URLs is stable, you can't do this with one route. (And AFAIK the first /part/ of a route path must be constant too in Drupal, it cannot start with a wildcard.)
An URL alias is an optional, separate entity that matches an arbitrary URL to an existing route.
You either have to dynamically create/update URL aliases, or add new route only for the spanish translation. But it is allowed to reuse the same controller for multiple routes, so overhead would only be a single entry in a routing.yml file.