title: How to implement multilanguage in Twig?
body: <p>How to implement multilanguage in Twig templates? </p>
  
  <p>Before using Twig, I used gettext function to implement multilanguage, but I don't know if there is any way to call this function from a twig template.</p>
  
  <p>The most related I found about this, is this question, that talks about twig and symfony, but in my case I'm using only Twig lib:</p>
  
  <p><a href="https://stackoverflow.com/questions/8271125/multilanguage-in-symfony2-and-twig">Multilanguage in Symfony2 and Twig</a></p>
  
  <p>I've looked for functions/attributes "trans" in twig documentation but I found nothing.</p>
  
  <p>Is there any function? Or I have to duplicate every template for every language?</p>