Hello! I am implementing plural localization support for decimal numbers. I want to add another option to `plural_for_parameter` - `decimal`. If specified, all plurals of decimal numbers would translate to `decimal`; otherwise, to `rest`. This covers translations for languages I know (which is likely not good enough).
Linked bug report: 109521
Proposed usage: `__1__ __plural_for_parameter_1_{1=ton,rest=tons,decimal=tons}` (`decimal` is optional)
Examples:
Code: Select all
0.01 tons
0.1 tons
0.5 tons
1.5 tons
2.3 tons
3.18 tons
12.5 tons
17.4 tons
20.5 tons