reuse.i18n module

gettext plumbing of reuse.

reuse.i18n.TRANSLATIONS: NullTranslations = <gettext.NullTranslations object>

Translations object used throughout reuse. The translations are sourced from reuse/locale/<lang>/LC_MESSAGES/reuse.mo.

reuse.i18n.gettext(message)[source]

gettext.NullTranslations.gettext() of TRANSLATIONS

reuse.i18n.ngettext(msgid1, msgid2, n)[source]

gettext.NullTranslations.ngettext() of TRANSLATIONS

reuse.i18n.pgettext(context, message)[source]

gettext.NullTranslations.pgettext() of TRANSLATIONS

reuse.i18n.npgettext(context, msgid1, msgid2, n)[source]

gettext.NullTranslations.npgettext() of TRANSLATIONS