Marc Abonce Seguin
772c048d01
refactor engine's search language handling
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.
Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
6 年之前
Marc Abonce Seguin
d1eae9359f
fix fetch_langauges to be more accurate
Add languages supported by either all default general engines or 10 engines.
6 年之前
marc
44085e31d0
update engines_languages.json and languages.py
Also, fix fetch_languages.py so it can run on python3.
7 年之前
marc
805fb02ed1
add language support for qwant
closes issue #863
7 年之前
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 年之前
marc
4a1ff56389
minor fixes in utils/fetch_languages.py
8 年之前
marc
af35eee10b
tests for _fetch_supported_languages in engines
8 年之前
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 年之前