You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
In Twig/DatatableTwigExtension.php and Datatable/View/AbstractDatatableView.php
you must use Symfony\Component\Translation\TranslatorInterface
instead of Symfony\Bundle\FrameworkBundle\Translation\Translator to make it work with Symfony 2.6
The text was updated successfully, but these errors were encountered:
Yes I have it.
But the default in 2.6 is to receive with @translator a new service Symfony\Component\Translation\LoggingTranslator
instead of Symfony\Bundle\FrameworkBundle\Translation\Translator
It can be changed in the config with : translator: { fallback: "%locale%", logging: false }
But it would be better to use the TranslatorInterface instead of the class.
It would also fix the need to uncomment the translator line as the Symfony\Component\Translation\IdentityTranslator you receive in this case also implement TranslatorInterface.
In Twig/DatatableTwigExtension.php and Datatable/View/AbstractDatatableView.php
you must use Symfony\Component\Translation\TranslatorInterface
instead of Symfony\Bundle\FrameworkBundle\Translation\Translator to make it work with Symfony 2.6
The text was updated successfully, but these errors were encountered: