Internationalization.dngettext

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 g_dgettext() for details of how this differs from dngettext() proper. Since 2.18

class Internationalization
static
string
dngettext
(
string domain
,
string msgid
,,)

Parameters

domain string

the translation domain to use, or NULL to use the domain set with textdomain()

msgid string

message to translate

msgidPlural string

plural form of the message

n gulong

the quantity for which translation is needed

Return Value

Type: string

The translated string

Meta