Do a plural-forms lookup of a message id. singular is used as the message id for purposes of lookup in the catalog, while n is used to determine which plural form to use.
gettext/GNUTranslations.npgettext
GNUTranslations.npgettext