How do I translate the weekday in a date? I created a view from a JSON file; the dates in that file follow the 2020-07-28 20:00 format. I do a rewrite of the date to &lt;span&gt;{{ value_1|date(&quot;l d/m/Y&quot;) }}&lt;/span&gt; and I get Tuesday 28/07/2020, but I want to get the weekday in Dutch.
Is there code for this?
Use the below example as a temporal solution, I'm not sure if this is the proper way. The approach is to split the problem.
{{ value_1|date(&quot;l&quot;)|t }} {{ value_1|date(&quot;d/m/Y&quot;) }}

Regarding the next link, the proper use of translation on twig is using &quot;t&quot; filter.
How do I translate strings in Twig templates?