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.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.ldgettext()
  • References/Python/Python/Internationalization

gettext.ldgettext(domain, message) Equivalent to dgettext(), but the translation is returned in the preferred system

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.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
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
locale.localeconv()
  • References/Python/Python/Internationalization

locale.localeconv() Returns the database of the local conventions as a dictionary. This dictionary has the following strings

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
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.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