Internationalization.dcgettext

This is a variant of g_dgettext() that allows specifying a locale category instead of always using LC_MESSAGES. See g_dgettext() for more information about how this functions differs from calling dcgettext() directly. Since 2.26

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

Parameters

domain string

the translation domain to use, or NULL to use the domain set with textdomain(). [allow-none]

msgid string

message to translate

category int

a locale category

Return Value

Type: string

the translated string for the given locale category

Meta