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

locale.atoi(string) Converts a string to an integer, following the LC_NUMERIC conventions.

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

gettext.textdomain(domain=None) Change or query the current global domain. If domain is None, then the

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