Alexandre Flament
828088fa5a
[mod] update_languages: min_engines_per_country=7
...
a (language,country) tuple is included if 7 engines have it, was 10 before.
close #432
3 years ago
dalf
db51a64390
Update searx.data - update_languages.py
3 years ago
Markus Heiser
274edd523c
[fix] get common used languages back (min_engines_per_lang = 13)
...
In commit 4d3f2f48d
common used languages has been droped. By reducing the
number of `min_engines_per_lang` from 15 to 13 we get theses languages back.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
dalf
4d3f2f48d2
Update searx.data - update_languages.py
3 years ago
dalf
d9dc3376d0
Update searx.data - update_languages.py
4 years ago
Markus Heiser
ff6804e545
[data] make engines.languages
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Marc Abonce Seguin
ecf5899153
fetch google's search langs rather than ui langs
4 years ago
Marc Abonce Seguin
c86504b47a
fix utils/fetch_languages to work with new languages
4 years ago
Dalf
1022228d95
Drop Python 2 (1/n): remove unicode string and url_utils
4 years ago
Markus Heiser
79412828cd
update languages: engines_languages.json languages.py
...
build by Makefile target:
make project
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Marc Abonce Seguin
d1eae9359f
fix fetch_langauges to be more accurate
...
Add languages supported by either all default general engines or 10 engines.
7 years ago
marc
44085e31d0
update engines_languages.json and languages.py
...
Also, fix fetch_languages.py so it can run on python3.
7 years ago
marc
fd65c12921
make search language handling less strict
...
languages.py can change, so users may query on a language that is not
on the list anymore, even if it is still recognized by a few engines.
also made no and nb the same because they seem to return the same,
though most engines will only support one or the other.
8 years ago
marc
805fb02ed1
add language support for qwant
...
closes issue #863
8 years ago
marc
1175b3906f
change language list to only include languages with a minimum of engines
...
that support them.
users can still query lesser supported through the :lang_code bang.
8 years ago
marc
4a1ff56389
minor fixes in utils/fetch_languages.py
8 years ago
marc
af35eee10b
tests for _fetch_supported_languages in engines
...
and refactor method to make it testable without making requests
8 years ago
marc
f62ce21f50
[mod] fetch supported languages for several engines
...
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc
92c6e88ad3
small fixes
8 years ago
marc
922d51bf0c
Add country names in language list.
8 years ago
marc
a11948c71b
Add language support for more engines.
8 years ago
marc
c677aee58a
filter langauges
8 years ago
marc
149802c569
[enh] add supported_languages on engines and auto-generate languages.py
8 years ago
Noemi Vanyi
1805cfd20a
sort languages properly
9 years ago
Adam Tauber
2b0605d723
[enh] add occitan search language - example query: ":oc !wp south" - closes #445
9 years ago
Thomas Pointhuber
7da4b3dc82
add comments to languages.py
...
* add comments
* add licence-header
10 years ago
asciimoo
2a788c8f29
[enh] search language support init
11 years ago