dngettext


Description:

[ Version ( since = "2.18" ) ]
[ CCode ( cname = "g_dngettext" ) ]
public unowned string dngettext (string? domain, string msgid, string msgid_plural, ulong 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 dgettext for details of how this differs from dngettext proper.

Parameters:

domain

the translation domain to use, or null to use the domain set with textdomain

msgid

message to translate

msgid_plural

plural form of the message

n

the quantity for which translation is needed

Returns:

The translated string


Namespace: GLib
Package: glib-2.0