{% set monthList = [] %} {% for i in 1..12 %} {% set monthList = monthList|merge([getLocalizedMonth(i, 'MMMM', app.request.locale)]) %} {% endfor %}