GNUTranslations.lgettext(message) Equivalent to gettext(), but the translation is returned as a bytestring encoded
locale.getpreferredencoding(do_setlocale=True) Return the encoding used for text data, according to user preferences. User preferences
output_charset() Return the “protected” _output_charset variable, which defines the encoding used to return translated
gettext.ldngettext(domain, singular, plural, n) Equivalent to dngettext(), but the translation is returned in the
GNUTranslations.gettext(message) Look up the message id in the catalog and return the corresponding message string
gettext.ngettext(singular, plural, n) Like gettext(), but consider plural forms. If a translation is found, apply
add_fallback(fallback) Add fallback as the fallback object for the current translation object. A translation object
locale.nl_langinfo(option) Return some locale-specific information as a string. This function is not available on all systems
gettext.bind_textdomain_codeset(domain, codeset=None) Bind the domain to codeset, changing the encoding of
gettext.find(domain, localedir=None, languages=None, all=False) This function implements the standard .mo file
Page 4 of 5