dngettext

fun dngettext(domain: String? = null, msgid: String, msgidPlural: String, n: <Error class: unknown class>): String

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.

Return

The translated string

Since

2.18

Parameters

domain

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

msgid

message to translate

msgidPlural

plural form of the message

n

the quantity for which translation is needed