when using functions like https://github.com/zicht/framework-extra-bundle/blob/release/5.x/src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php#L592
the php runtime uses the system locale. The locale on symfony does not affect the php locale. So we should be setting the the locale with a listener on the funciton setLocale or we should deprecate this function and use the symfony functionality.
when using functions like https://github.com/zicht/framework-extra-bundle/blob/release/5.x/src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php#L592
the php runtime uses the system locale. The locale on symfony does not affect the php locale. So we should be setting the the locale with a listener on the funciton setLocale or we should deprecate this function and use the symfony functionality.