diff --git a/Resources/views/Form/jquery_layout.html.twig b/Resources/views/Form/jquery_layout.html.twig index 83927732..28c0ab99 100644 --- a/Resources/views/Form/jquery_layout.html.twig +++ b/Resources/views/Form/jquery_layout.html.twig @@ -100,6 +100,12 @@ }) %} {% endif %} + {% if configs.buttonText is defined %} + {% set configs = configs|merge({ + "buttonText": (configs.buttonText | trans) + }) %} + {% endif %} + {% if culture == "en" %} {% set culture = "en-GB" %} {% endif %}