GLib.OptionContext.prototype.set_translation_domain

function set_translation_domain(domain: String): void {
    // Gjs wrapper for g_option_context_set_translation_domain()
}
  

A convenience function to use gettext() for translating user-visible strings.

Since 2.12

domain

the domain to use