About '?plural' and CSV

I’m on version 4.6 of Godot, practicing with the ‘?plural’ feature in CSV documents.

I think there’s something I’m missing.

I’m using the table provided in:

en ?plural fr ru zh _Comment
?pluralrule nplurals=2; plural=(n >= 2); Customize the plural rule for French
There is %d apple There are %d apples Il y a %d pomme Есть %d яблоко 那里有%d个苹果
Il y a %d pommes Есть %d яблока
Есть %d яблок

I thought the ‘tr_n()’ function would be used more or less like this:

#tr_n("the Key as 'There is %d apple'", "here locale as 'fr'", "the amount")
#example:
 tr_n(&"There is %d apple", &"fr", 5)

But it doesn’t work that way, so I thought it would have to be like this:

 tr_n(&"There is %d apple", "Il y a %d pomme", 2)

but also, if n == 1, the output will be:

&"There is %d apple"

and if it is 2 or more:

"Il y a %d pomme"

If I want to obtain the singular or plural of a language, I have to write both:

 tr_n(&"There is %d apple", "There are %d apples", 2)
 tr_n(&"Il y a %d pomme", "Il y a %d pommes", 2)

But then, it’s like I’m writing this:

if n == 1:
    print("There is %d apple")
elif n > 1:
    print("There are %d apples")

What am I missing?

Okay, I think I’ve found the solution further down, in the ‘github’ comments section, on the same page.