schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

Support for Twig2 added. #431

Closed mogilvie closed 7 years ago

mogilvie commented 7 years ago
Q A
Bug fix? yes
New feature? yes
BC breaks? ?
Deprecations? no
Tests pass? ?
Fixed tickets
License Apache2

Description

1) Added a factory service to create FileExtractor, FormExtractor and TwigFileExtractors compatible with Twig2+. 2) Replaced references to Twig_NodeInterface with Twig_Node. 3) The Extractors for Twig<2 have been left as is and are failing tests. I'm not running anything with Twig 1 and haven't modified these.

Note that the web interface still has issues due to other bundles needing updating

Todos