PyDocs

Nav

Internationalization

GNUTranslations.pgettext

gettext

method of GNUTranslations · Added in 3.8 (source)
  • GNUTranslations.pgettext(context, message, /)
Look up the context and message id in the catalog and return the corresponding message string, as a Unicode string. If there is no entry in the catalog for the message id and context, and a fallback has been set, the look up is forwarded to the fallback’s pgettext() method. Otherwise, the message id is returned.
0 Examples
No examples for gettext/GNUTranslations.pgettext.
See Also
No see-alsos for gettext/GNUTranslations.pgettext
0 Notes
No notes for GNUTranslations.pgettext