diff --git a/modules/authorize/templates/authorize_403.twig b/modules/authorize/templates/authorize_403.twig
index 0f4a77d78f0411e34f8f8ac18ab5c67e95dd92c8..52d9a24308851c10625ca655bafde3577c389f99 100644
--- a/modules/authorize/templates/authorize_403.twig
+++ b/modules/authorize/templates/authorize_403.twig
@@ -1,15 +1,15 @@
 {% extends "base.twig" %}
 
 {% block content %}
-  <h1>{{ '{authorize:Authorize:403_header}'|trans }}</h1>
-{% if reject_msg[currentLanguage] is defined %}
-  <p>{{ reject_msg[currentLanguage]|raw }}</p>
+  <h1>{% trans %}{authorize:Authorize:403_header}{% endtrans %}</h1>
+{% if reject_msg %}
+  <p>{{ reject_msg|translateFromArray }}</p>
 {% else %}
-  <p>{{ '{authorize:Authorize:403_text}'|trans }}</p>
+  <p>{% trans %}{authorize:Authorize:403_text}{% endtrans %}</p>
 {% endif %}
-  {% if logoutURL is defined %}
+  {% if logoutURL %}
   <p>
-      <a href="{{ logoutURL|escape('html') }}">{{ '{status:logout}'|trans }}</a>
+      <a href="{{ logoutURL }}">{% trans %}{status:logout}{% endtrans %}</a>
   </p>
   {% endif %}
 {% endblock%}