How to implement translatable helptext in python plug-ins like in GIMP 2.10

In GIMP 2.10 python plug-ins we defined some help text in the register function.
It was then displayed in the plug-ins’ dialogue, see here for example:

Unfortunately this is not implemented in GIMP3., which is a pity.
So my question is:
Can I/ how can I have this in my plug-ins?
Challenge: it must be translatable.

Someone talked/reported about that before but I am unable to find where.

@pixelmixer It was you?

AFAIK this text is the “hover” text (displayed when the mouse is over the menu entry). So it is not meant to contain a long text.

You can have “hover” help text for each field in the dialog.

Ok, half solved now: found some solution meanwhile…

I put my helptext in this:

dialog.get_label("helptext", 
        	_("Here goes my super helptext.\n\n"), 
              True, False)

and add it via dialog.fill

What I would really like to do is putting the text in a variable that I can use at both places (helptext in dialog and hover text).

But the translation only works like this.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.