Often one wants to generate a list of things with ordinals in front of them.
E.g. "1st place: Foo, 2nd place: Bar" or "1st choice: Hello, 2nd choice: World".
The way these ordinals are represented differs between languages.
In e.g. german this would commonly be written as "1. place: Foo, 2. place: Bar".
PyBabel should support these use cases with a respective formatter.
Rules how this works can probably be taken from the ICU library.
Often one wants to generate a list of things with ordinals in front of them. E.g. "1st place: Foo, 2nd place: Bar" or "1st choice: Hello, 2nd choice: World". The way these ordinals are represented differs between languages. In e.g. german this would commonly be written as "1. place: Foo, 2. place: Bar".
PyBabel should support these use cases with a respective formatter. Rules how this works can probably be taken from the ICU library.