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.
domain |
the translation domain to use, or null to use the domain set with textdomain |
msgid |
message to translate |
category |
a locale category |
the translated string for the given locale category |