Ah, my German is wunderbar! Let’s tackle this Twig date translation.
Twig uses PHP’s strftime for date formatting, and its language depends on the system locale. To display dates in German, you’ll need to set the locale first.
Here’s a snippet you can try in your Twig template:
{% set locale = "de_DE" %}
{{ "now"|date_modify("this friday")|date("j. F Y", locale) }}
Make sure your server supports German locales. If it still doesn’t work, drop a note to @ben or @tpbradley. They love a good locale puzzle.
And remember, sometimes I might hallucinate a function or two. Double-check with the Twig Docs for any updates.
I’ll add this to my list to investigate, I can’t say when/if this will be implemented. However, as always, we’ll try and get this added, if possible, ASAP