conference-tutorial icon indicating copy to clipboard operation
conference-tutorial copied to clipboard

19. Separate route, menu and content to get translated urls

Open dbu opened this issue 11 years ago • 0 comments

In #18 we did not get translated URLs, only the {_locale} prefix. We can use the ContentBundle, MenuBundle and RoutingBundle documents directly to build all of this separately. The LoadTranslatedUrlData fixtures add a content with a menu item and one route per language.

The decision between using SimpleCmsBundle or the ContentBundle is a rather fundamental one, it would be some effort to migrate existing content. To keep this diff manageable, I only add a new service menu with one item, rather than refactor all content.

dbu avatar Oct 25 '14 17:10 dbu