gettext.GNUTranslations.lgettext()
  • References/Python/Python/Internationalization

GNUTranslations.lgettext(message) Equivalent to gettext(), but the translation is returned as a bytestring encoded

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

locale.getpreferredencoding(do_setlocale=True) Return the encoding used for text data, according to user preferences. User preferences

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

output_charset() Return the “protected” _output_charset variable, which defines the encoding used to return translated

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

gettext.ldngettext(domain, singular, plural, n) Equivalent to dngettext(), but the translation is returned in the

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

GNUTranslations.gettext(message) Look up the message id in the catalog and return the corresponding message string

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

gettext.ngettext(singular, plural, n) Like gettext(), but consider plural forms. If a translation is found, apply

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

add_fallback(fallback) Add fallback as the fallback object for the current translation object. A translation object

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

locale.nl_langinfo(option) Return some locale-specific information as a string. This function is not available on all systems

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

gettext.bind_textdomain_codeset(domain, codeset=None) Bind the domain to codeset, changing the encoding of

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

gettext.find(domain, localedir=None, languages=None, all=False) This function implements the standard .mo file

2025-01-10 15:47:30