Open amelia-bruno opened 3 years ago
I believe that standard-narrow isn't a type of style available on babel. The key to fixing this issue might be to use one of the styles listed on their documentation page here.
from babel.lists
import format_list
format_list(['A', 'B', 'C'], style='unit-narrow', locale='de')
format_list(['A', 'B', 'C'], style='standard', locale='de')
Take a look at their documentation page to see what might fit your use case best.
Thanks for the reference. I'll do that, but I'm curious as to why the 'standard-narrow' style does work for the English locale, despite it being omitted from the documentation. And in any case there is a gap between the functionality and the documentation that ought to be fixed. Does anyone know why it was implemented that way for English?
Steps to Reproduce
Actual Results
Expected Results
The english locale gives the expected result: