The actual translations.
The major revision number of the catalog, currently always 0.
The minor revision number of the catalog, currently always 0 or 1.
Compute the index of a plural form from a number of items. If a language has one singular and two plural forms, the singular form would have index 0 and the plural forms have index 1 and 2.
The plural function would then compute one of 0, 1, or 2 from an arbitrary non-negative integer.
the number of items.
the index of the plural form.
Generated using TypeDoc
A
Catalog
is a container for a set of translations loaded from a.json
or a binary.mo
file.This interface is used internally. You will only need it if you want to write your own message retrieval method or want to inspect a loaded
Catalog
.