Function

GLib-2.0GLibdcgettextSince 2.26

  • 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.

    Parameters

    • domain: string

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

    • msgid: string

      message to translate

    • category: number

      a locale category

    Returns string

    the translated string for the given locale category

    2.26