predominant/TwigView — pull request #10 by jorgonor (2012-06-23 15:20:51+00:00)
Title: Integrating cake i18n script with TwigView

Hi Graham,

As I talked with you by email, it would be nice to have a script to extract the strings used with the Twig trans filter.

The cakephp "Console/cake i18n" script would be usable if a little change is done in the file Lib/Twig_Extension_I18n.php, changing the Twig_Filter_Function callback from cakeI18nFunction to __, using directly the cakephp internationalization function.

Regards,

Jorge.