{% set viewOptions = { completed: { icon: 'adjust', color: 'green' }, new: { icon: 'clock', color: 'olive' }, } %} {% set value = 'sylius_refund.ui.' ~ data %} {{ value|trans }}