dngettext

fnstring dngettext(string domain, string msgid, string msgidPlural, gulong n)

This function is a wrapper of dngettext() which does not translate the message if the default domain as set with textdomain() has no translations for the current locale.

See [glib.global.dgettext] for details of how this differs from dngettext() proper.

Parameters

domainthe translation domain to use, or null to use the domain set with textdomain()
msgidmessage to translate
msgidPluralplural form of the message
nthe quantity for which translation is needed

Returns

The translated string