conference-tutorial
conference-tutorial copied to clipboard
18. Enabling multilanguage content
This enables multilanguage content and some translations.
- Add the _locale in the routing definition for static routes
- Have the SimpleCms page documents add the locale pattern
- Add some translations
- Enable LuneticsLocaleBundle and use locale choosers
- Add translation file for messages.
Note: For this branch, in addition to reload the fixtures, you need to clear the cache to make symfony pick up the german translation file.
You can of course add as many languages as you need.