mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[enh] engine: mojeek - add language support
Improve region and language detection / all locale Testing has shown the following behaviour for the different default and empty values of Mojeeks parameters: | param | idx | value | behaviour | | -------- | --- | ------ | ------------------------- | | region | 0 | '' | detect region based on IP | | region | 1 | 'none' | all regions | | language | 0 | '' | all languages |
This commit is contained in:
@@ -101,7 +101,7 @@ def fetch_traits_map():
|
||||
def filter_locales(traits_map: EngineTraitsMap):
|
||||
"""Filter language & region tags by a threshold."""
|
||||
|
||||
min_eng_per_region = 15
|
||||
min_eng_per_region = 18
|
||||
min_eng_per_lang = 20
|
||||
|
||||
_ = {}
|
||||
|
||||
Reference in New Issue
Block a user