I'm working on an Italian Drupal8 website, where I need to show decimal or float fields with the comma "," instead of the dot "." as decimal separator.
I tried installing a clean Drupal8 website choosing Italian as language and Italy as default country. Then I added a decimal field to the Page content type. While I can (actually, I must) use the comma as decimal separator while creating the content, in the content visualization I always get a dot. I tried playing a lot with PHP intl settings, even in a desperate attempt I tried putting
setlocale(LC_ALL, 'it_IT.utf8'); in index.php, but nothing changed.
How can I achieve this wihtout having to manually format the field programmatically?