GLib.OptionGroup.prototype.set_translation_domain

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

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

Since 2.6

domain

the domain to use