Because of several reasons including translation of content I had to build a simple CMS to render the pages of my Symfony2 application.
My problem is that is seems impossible to render content from a string. Twig only accepts files. My content may contain dynamic parts like locale or similar, so the render power of twig would be very useful.
I tried to render it using the TwibstringBundle, but its functionality is quite limited and it does not work with the path-function.