Module translation
Internationalization support.
source linkClasses
Functions
▷ def lazy_number(func, resultclass, number=None, **kwargs) ▶ def ngettext(singular, plural, number) ▷ def npgettext(context, singular, plural, number) ▶ def to_language(locale) Turn a locale name (en_US) into a language name (en-us).
▶ def to_locale(language) Turn a language name (en-us) into a locale name (en_US).
▷ def ugettext(message) A legacy compatibility wrapper for Unicode handling on Python 2. Alias of gettext() since Django 2.0.
▷ def ugettext_lazy(message) A legacy compatibility wrapper for Unicode handling on Python 2. Has been Alias of gettext_lazy since Django 2.0.
▷ def ugettext_noop(message) A legacy compatibility wrapper for Unicode handling on Python 2. Alias of gettext_noop() since Django 2.0.
▷ def ungettext(singular, plural, number) A legacy compatibility wrapper for Unicode handling on Python 2. Alias of ngettext() since Django 2.0.
▷ def ungettext_lazy(singular, plural, number=None) A legacy compatibility wrapper for Unicode handling on Python 2. An alias of ungettext_lazy() since Django 2.0.
Submodules