dudapiotr / ZfTable

*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
http://dudapiotrek.laohost.net/
MIT License
75 stars 59 forks source link

Inject translator on View renderer #65

Open abidihoussem opened 9 years ago

abidihoussem commented 9 years ago

Hello, How can i add translator service on renderer object in order to be able to call translate helper on templates: <?php echo $this->translate('TOTO');?>

I have this error when trying to do it directly:

Zend\View\HelperPluginManager::get was unable to fetch or create an instance for translate

Thanks !

olekhy commented 9 years ago

hope this #63 helps