Add get_supported_language_variant (#386)

This commit is contained in:
Alexander Viklund
2020-06-03 19:04:19 +02:00
committed by GitHub
parent 28d47c7e93
commit 25f92e8e56

View File

@@ -66,6 +66,7 @@ def to_locale(language: str) -> str: ...
def get_language_from_request(request: WSGIRequest, check_path: bool = ...) -> str: ... def get_language_from_request(request: WSGIRequest, check_path: bool = ...) -> str: ...
def templatize(src: str, **kwargs: Any) -> str: ... def templatize(src: str, **kwargs: Any) -> str: ...
def deactivate_all() -> None: ... def deactivate_all() -> None: ...
def get_supported_language_variant(lang_code: str, strict: bool = ...) -> str: ...
def get_language_info(lang_code: str) -> Any: ... def get_language_info(lang_code: str) -> Any: ...
from . import trans_real as trans_real from . import trans_real as trans_real