set_translation_domain


Description:

[ Version ( since = "2.4" ) ]
public void set_translation_domain (string? domain)

Sets the translation domain and uses dgettext for translating the label and tooltip of ActionEntrys added by add_actions.

If you’re not using gettext for localization, see set_translate_func.

Parameters:

this

a ActionGroup

domain

the translation domain to use for dgettext calls, or null to use the domain set with textdomain