gettext.NullTranslations.ngettext()
  • References/Python/Python/Internationalization

ngettext(singular, plural, n) If a fallback has been set, forward ngettext() to the fallback. Otherwise, return

2025-01-10 15:47:30
gettext.NullTranslations.gettext()
  • References/Python/Python/Internationalization

gettext(message) If a fallback has been set, forward gettext() to the fallback. Otherwise, return the translated

2025-01-10 15:47:30
gettext.NullTranslations.set_output_charset()
  • References/Python/Python/Internationalization

set_output_charset(charset) Change the “protected” _output_charset variable, which defines the encoding used to

2025-01-10 15:47:30
gettext.gettext()
  • References/Python/Python/Internationalization

gettext.gettext(message) Return the localized translation of message, based on the current global domain, language

2025-01-10 15:47:30
gettext.dgettext()
  • References/Python/Python/Internationalization

gettext.dgettext(domain, message) Like gettext(), but look the message up in the specified domain.

2025-01-10 15:47:30
locale.getlocale()
  • References/Python/Python/Internationalization

locale.getlocale(category=LC_CTYPE) Returns the current setting for the given locale category as sequence containing language

2025-01-10 15:47:30
gettext.lngettext()
  • References/Python/Python/Internationalization

gettext.lngettext(singular, plural, n) Equivalent to ngettext(), but the translation is returned in the preferred

2025-01-10 15:47:30
locale.str()
  • References/Python/Python/Internationalization

locale.str(float) Formats a floating point number using the same format as the built-in function str(float), but

2025-01-10 15:47:30
locale.Error
  • References/Python/Python/Internationalization

exception locale.Error Exception raised when the locale passed to setlocale() is not recognized.

2025-01-10 15:47:30
locale.format()
  • References/Python/Python/Internationalization

locale.format(format, val, grouping=False, monetary=False) Formats a number val according to the current LC_NUMERIC

2025-01-10 15:47:30