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

GNUTranslations.lngettext(singular, plural, n) Equivalent to gettext(), but the translation is returned as a bytestring

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

locale.strxfrm(string) Transforms a string to one that can be used in locale-aware comparisons. For example, strxfrm(s1)

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

gettext.lgettext(message) Equivalent to gettext(), but the translation is returned in the preferred system encoding

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

locale.getdefaultlocale([envvars]) Tries to determine the default locale settings and returns them as a tuple of the form (language

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

locale.normalize(localename) Returns a normalized locale code for the given locale name. The returned locale code is formatted

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

locale.currency(val, symbol=True, grouping=False, international=False) Formats a number val according to the current

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

class gettext.NullTranslations(fp=None) Takes an optional file object fp, which

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

locale.resetlocale(category=LC_ALL) Sets the locale for category to the default setting. The

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