I want to expand the {{ base_url }} variable below, while using custom translations. However, for some reason I only get the string literal of the PRIVACY_STATEMENT_QUESTION variable. Does anyone know how I can expand this properly?
This is the languages.yaml I've created for my custom theme.
en:
THEME_TZM:
PRIVACY_STATEMENT_QUESTION: "Have you read our <a href=\"{{ base_url ~ '/privacy-verklaring' }}\">privacy statement</a> and do you agree?"
nl:
THEME_TZM:
PRIVACY_STATEMENT_QUESTION: "Heb je onze <a href=\"{{ base_url ~ '/privacy-verklaring' }}\">privacy verklaring</a> gelezen en ga je akkoord?"
I then modified my custom data.html.twig with this:
{% block field_label %}
{# Custom fields #}
{% if index == 'privacy-policy' %}
<strong>{{ 'THEME_TZM.PRIVACY_STATEMENT_QUESTION'|t|markdown }}</strong>
{% else %}
<strong>{{ field.label|t|e }}</strong>:
{% endif %}
{# Enf of custom fields #}
{% endblock %}
Which as a result does not expand the {{ base_url }} variable. It looks like this Have you read our <a href="{{ base_url ~ '/privacy-verklaring' }}">privacy statement</a> and do you agree?.
I'm probably missing something I could've found in the docs, I tried to Duck for it, but can't find something.

