gettext(message) If a fallback has been set, forward gettext() to the fallback. Otherwise, return the translated
gettext.gettext(message) Return the localized translation of message, based on the current global domain, language
gettext.ldgettext(domain, message) Equivalent to dgettext(), but the translation is returned in the preferred system
set_output_charset(charset) Change the “protected” _output_charset variable, which defines the encoding used to
gettext.dgettext(domain, message) Like gettext(), but look the message up in the specified domain.
ngettext(singular, plural, n) If a fallback has been set, forward ngettext() to the fallback. Otherwise, return
locale.localeconv() Returns the database of the local conventions as a dictionary. This dictionary has the following strings
add_fallback(fallback) Add fallback as the fallback object for the current translation object. A translation object
GNUTranslations.gettext(message) Look up the message id in the catalog and return the corresponding message string
output_charset() Return the “protected” _output_charset variable, which defines the encoding used to return translated
Page 3 of 5