mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02: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:
parent
5b6f40414a
commit
8b6a3f3e11
3 changed files with 49 additions and 5 deletions
|
@ -32,12 +32,10 @@ class TestLocales(SearxTestCase):
|
|||
|
||||
@parameterized.expand(
|
||||
[
|
||||
('ca-es', 'ca-ES'),
|
||||
('de-at', 'de-AT'),
|
||||
('de-de', 'de-DE'),
|
||||
('en-UK', 'en-GB'),
|
||||
('fr-be', 'fr-BE'),
|
||||
('fr-be', 'fr-BE'),
|
||||
('fr-ca', 'fr-CA'),
|
||||
('fr-ch', 'fr-CH'),
|
||||
('zh-cn', 'zh-CN'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue