GNUTranslations.lngettext(singular, plural, n) Equivalent to gettext(), but the translation is returned as a bytestring
locale.getdefaultlocale([envvars]) Tries to determine the default locale settings and returns them as a tuple of the form (language
locale.normalize(localename) Returns a normalized locale code for the given locale name. The returned locale code is formatted
locale.currency(val, symbol=True, grouping=False, international=False) Formats a number val according to the current
locale.atoi(string) Converts a string to an integer, following the LC_NUMERIC conventions.
class gettext.NullTranslations(fp=None) Takes an optional file object fp, which
gettext.lgettext(message) Equivalent to gettext(), but the translation is returned in the preferred system encoding
set_output_charset(charset) Change the “protected” _output_charset variable, which defines the encoding used to
ngettext(singular, plural, n) If a fallback has been set, forward ngettext() to the fallback. Otherwise, return
gettext(message) If a fallback has been set, forward gettext() to the fallback. Otherwise, return the translated
Page 2 of 5