I understand Weblate has support for translating a string to all plural forms and I found examples on how to define the keys in .po files. But how can I define plural forms for a string in json format?
I tried multiple variants, an example for English language:
{
"key" : "A single key"
"key_plural" : "%d keys"
}
But I just end up with 2 different strings, not two variations of one string as I've seen in the Weblate demo.
So how should I do this properly for English and for other languages with more plural forms (one, few, many, …)