Description Usage Arguments Value Note
View source: R/get_n_plural_forms.R
Gets the number of plural forms specified in the"Plural-Forms" metadata element of a PO file.
1 | get_n_plural_forms(x, default = 2L, ...)
|
x |
A |
default |
An integer to return if the number of plural forms cannot be determined. |
... |
Arguments passed between methods. |
An integer of the number of plural forms for the language defined in the PO file.
POT files are not language-specific and don't have a "Plural-Forms" metadata element. By convention, they are considered to have 2 plural forms, since that is how many pulral forms there are in English.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.