add_fallback(fallback) Add fallback as the fallback object for the current translation object. A translation object
output_charset() Return the “protected” _output_charset variable, which defines the encoding used to return translated
locale.getpreferredencoding(do_setlocale=True) Return the encoding used for text data, according to user preferences. User preferences
GNUTranslations.lgettext(message) Equivalent to gettext(), but the translation is returned as a bytestring encoded
gettext.ngettext(singular, plural, n) Like gettext(), but consider plural forms. If a translation is found, apply
GNUTranslations.gettext(message) Look up the message id in the catalog and return the corresponding message string
locale.format(format, val, grouping=False, monetary=False) Formats a number val according to the current LC_NUMERIC
gettext.bind_textdomain_codeset(domain, codeset=None) Bind the domain to codeset, changing the encoding of
gettext.translation(domain, localedir=None, languages=None, class_=None, fallback=False, codeset=None) Return a Translations
charset() Return the “protected” _charset variable, which is the encoding of the message catalog file.
Page 4 of 5