Ordinal numbers in dart/flutter internationalization

Viewed 552

Let's say I have a string like "Let's meet on the $n floor" and I want it internationalized. In English it should say "1st floor", "2nd floor", "3rd floor", "4th floor" and so on. In German it would be "1. Stock", "2. Stock", "3. Stock" and so on. How can I achieve this using the intl package as Intl.plural only supports zero, one, two, few and many?

0 Answers
Related