title: How to handle Translation in twig file using variables?
body: <p>I have a twig file and a yml, in which I define the variables for translation </p>
  
  <p>e.g.:  </p>
  
  <p><strong>YML File -</strong><br>
  <code>variable.for.translation: Disponible, para tí</code>  </p>
  
  <p><strong>Content of Twig File -</strong>  </p>
  
  <pre><code>&lt;h2&gt;"Hola, Follow {{ variableName }} en Twitter&lt;/h2&gt;  
  </code></pre>
  
  <p>I wanted to make a variable for </p>
  
  <pre><code>Hola, Follow {{ variableName }} en Twitter
  </code></pre>
  
  <p>in translation file (i.e my yml file).<br>
  Currently i am doing it like this :<br>
  In YML -  </p>
  
  <pre><code>follow.us.twitter: Hola, Follow 
  
  follow.us.twitter1: en Twitter 
  </code></pre>
  
  <p>In Twig -  </p>
  
  <pre><code>&lt;h2&gt;{{ "follow.us.twitter"|trans([], "workend") }} {{ variableName }} {{ "follow.us.twitter1"|trans([], "workend") }}&lt;/h2&gt; 
  </code></pre>
  
  <p>Its working fine, but the problem is that i now have 3 variables in a twig which are too much :  </p>
  
  <pre><code> 1. follow.us.twitter
   2. follow.us.twitter1
   3. {{ variableName }}
  </code></pre>
  
  <p>I tried to do it with a single variable, like so:  </p>
  
  <pre><code>follow.us.in.twitter : Hola, Follow {{ variableName }} en Twitter 
  and  
  &lt;h2&gt;{{ "follow.us.in.twitter"|trans([], "workend") }}&lt;/h2&gt;
  </code></pre>
  
  <p>but it didn't work. The problem is <em>the variable i.e {{ variableName }}</em> I am using.   </p>
  
  <p>Is there any way to do handle a predefined variable and define it in translation file?  </p>