Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我需要一些方法来改变这样的路线:
/en/route/to/action
像这样:
/路由/到/动作
同时,将“en”设置为当前语言环境。
我可以为此使用“routing.loader” dictac 吗?还是有其他方法?
在场景 2中使用http://jmsyst.com/bundles/JMSI18nRoutingBundle:http://jmsyst.com/bundles/JMSI18nRoutingBundle/master/configuration#scenario-prefixing-all-routes-with-the-locale-except-those-默认语言环境