Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject translator on View renderer #65

Open
abidihoussem opened this issue Apr 27, 2015 · 1 comment
Open

Inject translator on View renderer #65

abidihoussem opened this issue Apr 27, 2015 · 1 comment

Comments

@abidihoussem
Copy link

Hello,
How can i add translator service on renderer object in order to be able to call translate helper on templates:

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
Copy link
Contributor

olekhy commented Apr 29, 2015

hope this #63 helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants