locale.str(float) Formats a floating point number using the same format as the built-in function str(float), but
GNUTranslations.lgettext(message) Equivalent to gettext(), but the translation is returned as a bytestring encoded
GNUTranslations.gettext(message) Look up the message id in the catalog and return the corresponding message string
gettext.ldngettext(domain, singular, plural, n) Equivalent to dngettext(), but the translation is returned in the
add_fallback(fallback) Add fallback as the fallback object for the current translation object. A translation object
exception locale.Error Exception raised when the locale passed to setlocale() is not recognized.
gettext.ngettext(singular, plural, n) Like gettext(), but consider plural forms. If a translation is found, apply
gettext.install(domain, localedir=None, codeset=None, names=None) This installs the function _() in Python’s builtins
gettext.translation(domain, localedir=None, languages=None, class_=None, fallback=False, codeset=None) Return a Translations
gettext.bindtextdomain(domain, localedir=None) Bind the domain to the locale directory localedir. More concretely
Page 4 of 5