1from typing import Any
2
3def gettext(message: Any): ...
4
5gettext_noop = gettext
6gettext_lazy = gettext
7_ = gettext
8
9def ngettext(singular: str, plural: str, number: int) -> str: ...
10
11ngettext_lazy = ngettext
12
13def pgettext(context: Any, message: Any): ...
14def npgettext(context: Any, singular: Any, plural: Any, number: Any): ...
15def activate(x: Any): ...
16def deactivate(): ...
17
18deactivate_all = deactivate
19
20def get_language(): ...
21def get_language_bidi() -> bool: ...
22def check_for_language(x: str) -> bool: ...
23def get_language_from_request(request: None, check_path: bool = ...) -> str: ...
24def get_language_from_path(request: str) -> None: ...
25def get_supported_language_variant(lang_code: str, strict: bool = ...) -> str: ...
26