I would like to output a field from a variable like this:
{% set foo = "entry.title" %}
{{ foo }}
In this example it outputs "entry.title".
Other Example like this:
{% set prefixVar = "en_" %}
{% set foo = "entry."~ prefixVar ~"title" %}
{{ foo }}
In this example it outputs "entry.en_title". Is it possible in Twig to get the content of the entry field instead of the string?