Package: glib

Function g-option-group-set-translate-func

Lambda List

g-option-group-set-translate-func (group func)

Arguments

group -- a g-option-group instance
func -- the g-translate-func callback function

Details

Sets the function which is used to translate user visible strings, for --help output. Different groups can use different g-translate-func functions. If the func argument is nil, strings are not translated.

If you are using GNU gettext, you only need to set the translation domain, see the g-option-group-set-translation-domain function.
 

See also

2021-9-3