-
Notifications
You must be signed in to change notification settings - Fork 0
Symfony Bundle Test
Nikolai Plath edited this page Jul 17, 2018
·
1 revision
Repository: https://github.com/elkuku/g11n-bundle-test
- This is based on a project created like composer create-project symfony/website-skeleton test
- If the web server is Apache composer require apache-pack
- Make a default controller with ./bin/console make:controller Default and set is as root
- composer require elkuku/g11n-bundle
- Add translation in controller
- Create the language template with ./bin/console g11n:templates
- Create a german language file with ./bin/console g11n:langfiles de-DE
- Update de-DE translations
- Add language switcher
- Add a config file
- Enable debug
- Add translation in Twig
- Update language files
- … Adding Javascript translations… TBD