The cardinality of the plural form.
The locale to use when looking up the translated string.
This template returns a numeric index of a plural form for a given language, similarly to how indexes are used in gettext PO files. Different languages have different rules for plurals. Some languages have no plurals at all, while others have as many as six different forms. This plural form index is used by l10n.gettext to determine the correct string to use.
The rules in this template are hand-written. They are not taken from the PO files. They are written by referencing the PO files in various GNOME modules, as well as the plural rules in the Unicode CLDR.