I've made two yml files, for both routing and menu item:
Route:
tester_helper.products_controller_overview:
path: '/assortment'
defaults:
_controller: '\Drupal\tester_helper\Controller\ProductsController::overview'
_title: 'Assortment'
requirements:
_permission: 'access content'
Menu item:
tester_helper.products_controller_overview_link:
title: Assortment
parent: main
route_name: tester_helper.products_controller_overview
menu_name: main
weight: 3
Is it possible to translate both the path and the menu item title?
For example: EN (english): "Assortment" => /assortment
DE (german): "Sortiment" => /sortiment