I am currently learning Kirby so please forgive any stupid questions from me.
I would like to change the PHP Locale to German so that the Events section (taken from the sample files) shows the dates in german. I have added the Locale settings to the config file but nothing is changing.
<h4><?= $schreibwerkstatt_single->from()->toDate('%A, j. F Y') ?></h4>
Two questions I have, 1. how to make the Locale set for german, and 2. what is the correct way to build the config file, should there be just one ‘return ’ or should there be more which are broken down into parts?
You have to set the date handler: date | Kirby CMS (since strftime will get deprecated, better use intl) and the right pattern syntax for that handler.