How can I get translation for a field of custom date I am using the paragraphs module. I have a field which contains a date and time e.g. for events, which is added by an author. For the output I use a paragraph-twig-file and I have this:

&lt;div class="timeline-date"&gt;
    {{ content.field_date }}
&lt;/div&gt;


In the backend of Drupal I created a custom time "D, d.m.Y - H:i". The output is right e.g. "Fri, 24.08.2018 - 17:14", but my site is in german and not english. So how, can I translate the day of week in german? 
In my case this solution is not working
In Twig, you can use built-in translation contexts. I had to output my dates in dutch format. The default formatting was:
{% set date = node.created.value|date(&quot;j&quot;) ~ ' ' ~ node.created.value|date(&quot;F&quot;) ~ ' ' ~ node.created.value|date(&quot;Y&quot;) %}
// now {{ date }} outputs: 8 August 2020

When I use translation contexts, it worked as expected:
{% set date = node.created.value|date(&quot;j&quot;) ~ ' ' ~ node.created.value|date(&quot;F&quot;)|t({}, {'context' : 'Long month name'}) ~ ' ' ~ node.created.value|date(&quot;Y&quot;) %}
// now {{ date }} outputs: 8 augustus 2020

More about translation contexts in Twig: https://stefvanlooveren.me/blog/translate-dates-twig-drupal-8