dcgettext
Description:
[ Version ( since = "2.26" ) ]
[ CCode ( cname = "g_dcgettext" ) ]
public unowned string dcgettext (string? domain, string msgid, int category)
[ CCode ( cname = "g_dcgettext" ) ]
public unowned string dcgettext (string? domain, string msgid, int category)
This is a variant of dgettext that allows specifying a locale category instead of always using `LC_MESSAGES`.
See dgettext for more information about how this functions differs from calling
dcgettext directly.
Parameters:
| domain |
the translation domain to use, or null to use the domain set with textdomain |
| msgid |
message to translate |
| category |
a locale category |
Returns:
|
the translated string for the given locale category |
Namespace: GLib
Package: glib-2.0