Locale in route prefix
问题 I'm trying to prefix all routes within single controller with _locale but so far I haven't had any success: /** * @Route("/{_locale}/events", requirements={"_locale": "en"}) * @Route("/{_locale}/evenements", requirements={"_locale": "fr"}) */ class SomeController extends Controller{ /** * @Route("/", name="events") */ public function indexAction(){ ... } ... } route:debug does not even list URLs prefixed by second @Route . I tried removing _locale slug altogether but still, route could not be