I'm using ini file for localisation. Actually almost the Joomla! format. I searched the Weblate documentation and read all about Gettext plural formulas for different languages. What I can't find is how to "tell" Weblate that a particular string id is a plural. I basically extended the ini to include something like this:
APPLE[1]="I have 1 apple"
APPLE[2]="I have 2 apples"
APPLE[3-...]="I have %d apples"
I need to know how to tell Weblate that APPLE[NUMBER] is a plural string.
Any idea how to do this?
Regards, Radek
The file format has to support plurals. The capabilities of supported formats are documented in https://docs.weblate.org/en/latest/formats.html#translation-types-capabilities
If you are inventing the own way of storing plurals, you would have to implement support for it in Weblate as well. Or just choose one of existing formats which are widely used.