gettext.gettext is imported as
from gettext import gettext as _
It's some naming convention, right? What's the equivalent for gettext.ngettext?
Generally these shortcuts or macros are used in C and come from GLib, so they are not standard shortcuts from Gettext, but they've become a de facto standard for programs that use GLib. They are generally defined in the
There are definitions for
In any case, in Python you'll need to define the shortcuts yourself, but it'd be goot to stick to the same naming convention, for consistency's sake.
However, I seem to remember intltool does not recognize the
If you still want to use a shortcut, and it is not supported by intltool, you'll need to tell intltool to use it, IIRC through the