title: Compose variable in twig with active language
body: <p>I have a variable with the name category.nameNl. When I dump this it works fine and shows the name of the category.</p>
  
  <pre><code>{{ dump(category.nameNl) }}
  </code></pre>
  
  <p>Now I want to make it dynamically with the active language, so nameEn en nameDe are also working. I tread the following but this is not working:</p>
  
  <pre><code>{{ dump(category.name~app.request.locale|capitalize) }}
  </code></pre>
  
  <p>Any idea?</p>