package documentation

Internationalization support.

Module reloader No module docstring; 2/2 functions documented
Module template No module docstring; 0/7 variable, 0/1 constant, 2/2 functions documented
Module trans_null Undocumented
Module trans_real Translation helper functions.

From __init__.py:

Class override Undocumented
Class Trans The purpose of this class is to store the actual translation function upon receiving the first call to that function. After this is done, changes to USE_I18N will have no effect to which function is served upon request...
Exception TranslatorCommentWarning Undocumented
Function activate Undocumented
Function check_for_language Undocumented
Function deactivate Undocumented
Function deactivate_all Undocumented
Function get_language Undocumented
Function get_language_bidi Undocumented
Function get_language_from_path Undocumented
Function get_language_from_request Undocumented
Function get_language_info Undocumented
Function get_supported_language_variant Undocumented
Function gettext Undocumented
Function gettext_noop Undocumented
Function lazy_number Undocumented
Function ngettext Undocumented
Function ngettext_lazy Undocumented
Function npgettext Undocumented
Function npgettext_lazy Undocumented
Function pgettext Undocumented
Function round_away_from_one Undocumented
Function templatize Undocumented
Function to_language Turn a locale name (en_US) into a language name (en-us).
Function to_locale Turn a language name (en-us) into a locale name (en_US).
Function trim_whitespace Undocumented
Variable gettext_lazy Undocumented
Variable pgettext_lazy Undocumented
Variable trim_whitespace_re Undocumented
Function _lazy_number_unpickle Undocumented
Variable _trans Undocumented

Undocumented

def gettext_noop(message): (source)

Undocumented

def gettext(message): (source)

Undocumented

def ngettext(singular, plural, number): (source)

Undocumented

def pgettext(context, message): (source)

Undocumented

def npgettext(context, singular, plural, number): (source)

Undocumented

gettext_lazy = (source)

Undocumented

pgettext_lazy = (source)

Undocumented

def lazy_number(func, resultclass, number=None, **kwargs): (source)

Undocumented

def _lazy_number_unpickle(func, resultclass, number, kwargs): (source)

Undocumented

def ngettext_lazy(singular, plural, number=None): (source)

Undocumented

def npgettext_lazy(context, singular, plural, number=None): (source)

Undocumented

def activate(language): (source)

Undocumented

def deactivate(): (source)

Undocumented

def get_language(): (source)

Undocumented

def get_language_bidi(): (source)

Undocumented

def check_for_language(lang_code): (source)

Undocumented

def to_language(locale): (source)

Turn a locale name (en_US) into a language name (en-us).

def to_locale(language): (source)

Turn a language name (en-us) into a locale name (en_US).

def get_language_from_request(request, check_path=False): (source)

Undocumented

def get_language_from_path(path): (source)

Undocumented

def get_supported_language_variant(lang_code, *, strict=False): (source)

Undocumented

def templatize(src, **kwargs): (source)

Undocumented

def deactivate_all(): (source)

Undocumented

def get_language_info(lang_code): (source)

Undocumented

trim_whitespace_re = (source)

Undocumented

def trim_whitespace(s): (source)

Undocumented

def round_away_from_one(value): (source)

Undocumented