.oO SearXNG Developer Documentation Oo.
|
Go to the source code of this file.
Namespaces | |
namespace | searx |
namespace | searx.locales |
Functions | |
searx.locales.localeselector () | |
searx.locales.get_translations () | |
list[str] | searx.locales.get_translation_locales () |
searx.locales.locales_initialize () | |
str | searx.locales.region_tag (babel.Locale locale) |
str | searx.locales.language_tag (babel.Locale locale) |
babel.Locale|None | searx.locales.get_locale (str locale_tag) |
set[babel.Locale] | searx.locales.get_official_locales (str territory, languages=None, bool regional=False, bool de_facto=True) |
searx.locales.get_engine_locale (searxng_locale, engine_locales, default=None) | |
str|None | searx.locales.match_locale (str searxng_locale, list[str] locale_tag_list, str|None fallback=None) |
searx.locales.build_engine_locales (list[str] tag_list) | |
Variables | |
searx.locales.logger = logger.getChild('locales') | |
searx.locales._flask_babel_get_translations = flask_babel.get_translations | |
dict | searx.locales.LOCALE_NAMES = {} |
set | searx.locales.RTL_LOCALES = set() |
dict | searx.locales.ADDITIONAL_TRANSLATIONS |
dict | searx.locales.LOCALE_BEST_MATCH |
list | searx.locales._TR_LOCALES = [] |