Php Symfony框架文化URL

Php Symfony框架文化URL,php,symfony1,Php,Symfony1,我需要为不同的文化创建不同的URL 例如: localhost/trips在finish区域性中应为localhost/matkat 但是localhost/trips在finish区域性中必须不可用 在routing.yml中尝试了这种配置,但没有成功 目的地: url:/trips 参数:{模块:目标,操作:索引} 要求:{sf_culture:en}Symfony plugins repo中有一个i18n路由插件:两个问题:您大概有多少个URL?您如何生成URL“slug”(例如matka

我需要为不同的文化创建不同的URL

例如: localhost/trips在finish区域性中应为localhost/matkat

但是localhost/trips在finish区域性中必须不可用

在routing.yml中尝试了这种配置,但没有成功

目的地: url:/trips 参数:{模块:目标,操作:索引}
要求:{sf_culture:en}

Symfony plugins repo中有一个i18n路由插件:

两个问题:您大概有多少个URL?您如何生成URL“slug”(例如matkat、trips等)。。。这些是动态的吗?