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
I'm trying to use your bundle in my Symfony 2.3 application; string extraction is working fine on the PHP side using "_('My string to translate')" notation, all strings are properly extracted in the po files.
But I can't get Twig messages extracted at all :/ Using --keep-cache argument, the file MyBundle/Resources/gettext/twig.cache.php is created using the Symfony way ($this->env->getExtension('translator')->getTranslator()->trans("Clear", array(), "messages")).
So the question is, have I mised something, or is there any changes in recent Symfony releases that make gettext bundle unhappy?
Thank you :)
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to use your bundle in my Symfony 2.3 application; string extraction is working fine on the PHP side using "_('My string to translate')" notation, all strings are properly extracted in the po files.
But I can't get Twig messages extracted at all :/ Using --keep-cache argument, the file MyBundle/Resources/gettext/twig.cache.php is created using the Symfony way ($this->env->getExtension('translator')->getTranslator()->trans("Clear", array(), "messages")).
So the question is, have I mised something, or is there any changes in recent Symfony releases that make gettext bundle unhappy?
Thank you :)
The text was updated successfully, but these errors were encountered: