summaryrefslogtreecommitdiff
path: root/searx/data/engine_traits.json
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-10-08 16:22:26 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2023-03-24 10:37:42 +0100
commit7daf4f95efb2c8b37f682d42e470bb78ce464f19 (patch)
treefa6fc1cd4b3a527748c0b4af0c7d94c8aacbba01 /searx/data/engine_traits.json
parentf78f9083836be851c224b4334b53b9686835e300 (diff)
downloadsearxng-7daf4f95efb2c8b37f682d42e470bb78ce464f19.tar.gz
searxng-7daf4f95efb2c8b37f682d42e470bb78ce464f19.zip
[mod] Wikipedia: fetch engine traits (data_type: supported_languages)
Implements a fetch_traits function for the Wikipedia engines. .. note:: Does not include migration of the request methode from 'supported_languages' to 'traits' (EngineTraits) object! Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/data/engine_traits.json')
-rw-r--r--searx/data/engine_traits.json222
1 files changed, 220 insertions, 2 deletions
diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json
index e5f85bf38..c97134f8b 100644
--- a/searx/data/engine_traits.json
+++ b/searx/data/engine_traits.json
@@ -5121,7 +5121,116 @@
"all_locale": null,
"custom": {},
"data_type": "supported_languages",
- "languages": {},
+ "languages": {
+ "af": "af",
+ "ak": "tw",
+ "am": "am",
+ "ar": "ar",
+ "as": "as",
+ "az": "az",
+ "be": "be",
+ "bg": "bg",
+ "bn": "bn",
+ "bo": "bo",
+ "bs": "bs",
+ "ca": "ca",
+ "chr": "chr",
+ "ckb": "ckb",
+ "cs": "cs",
+ "da": "da",
+ "de": "de",
+ "dsb": "dsb",
+ "el": "el",
+ "en": "en",
+ "es": "es",
+ "et": "et",
+ "fa": "fa",
+ "fi": "fi",
+ "fil": "tl",
+ "fo": "fo",
+ "fr": "fr",
+ "fur": "fur",
+ "fy": "fy",
+ "gl": "gl",
+ "gsw": "als",
+ "gu": "gu",
+ "gv": "gv",
+ "haw": "haw",
+ "he": "he",
+ "hi": "hi",
+ "hsb": "hsb",
+ "hu": "hu",
+ "hy": "hy",
+ "id": "id",
+ "is": "is",
+ "it": "it",
+ "ja": "ja",
+ "jv": "jv",
+ "ka": "ka",
+ "km": "km",
+ "kn": "kn",
+ "ko": "ko",
+ "ks": "ks",
+ "ksh": "ksh",
+ "kw": "kw",
+ "lb": "lb",
+ "lg": "lg",
+ "ln": "ln",
+ "lo": "lo",
+ "lt": "lt",
+ "lv": "lv",
+ "mai": "mai",
+ "mk": "mk",
+ "ml": "ml",
+ "mn": "mn",
+ "mr": "mr",
+ "ms": "ms",
+ "mt": "mt",
+ "nds": "nds-nl",
+ "ne": "ne",
+ "no": "no",
+ "om": "om",
+ "or": "or",
+ "os": "os",
+ "pa": "pa",
+ "pl": "pl",
+ "ps": "ps",
+ "pt": "pt",
+ "qu": "qu",
+ "rm": "rm",
+ "ro": "ro",
+ "ru": "ru",
+ "rw": "rw",
+ "sa": "sa",
+ "sah": "sah",
+ "sd": "sd",
+ "se": "se",
+ "shi": "shi",
+ "si": "si",
+ "sk": "sk",
+ "sl": "sl",
+ "smn": "smn",
+ "so": "so",
+ "sq": "sq",
+ "sr": "sr",
+ "ta": "ta",
+ "te": "te",
+ "th": "th",
+ "tk": "tk",
+ "to": "to",
+ "tr": "tr",
+ "ug": "ug",
+ "uk": "uk",
+ "ur": "ur",
+ "uz": "uz",
+ "vi": "vi",
+ "wo": "wo",
+ "xh": "xh",
+ "yi": "yi",
+ "zh": "zh",
+ "zh_Hans": "zh",
+ "zh_Hant": "zh-classical"
+ },
"regions": {},
"supported_languages": {
"ab": {
@@ -6402,7 +6511,116 @@
"all_locale": null,
"custom": {},
"data_type": "supported_languages",
- "languages": {},
+ "languages": {
+ "af": "af",
+ "ak": "tw",
+ "am": "am",
+ "ar": "ar",
+ "as": "as",
+ "az": "az",
+ "be": "be",
+ "bg": "bg",
+ "bn": "bn",
+ "bo": "bo",
+ "bs": "bs",
+ "ca": "ca",
+ "chr": "chr",
+ "ckb": "ckb",
+ "cs": "cs",
+ "da": "da",
+ "de": "de",
+ "dsb": "dsb",
+ "el": "el",
+ "en": "en",
+ "es": "es",
+ "et": "et",
+ "fa": "fa",
+ "fi": "fi",
+ "fil": "tl",
+ "fo": "fo",
+ "fr": "fr",
+ "fur": "fur",
+ "fy": "fy",
+ "gl": "gl",
+ "gsw": "als",
+ "gu": "gu",
+ "gv": "gv",
+ "haw": "haw",
+ "he": "he",
+ "hi": "hi",
+ "hsb": "hsb",
+ "hu": "hu",
+ "hy": "hy",
+ "id": "id",
+ "is": "is",
+ "it": "it",
+ "ja": "ja",
+ "jv": "jv",
+ "ka": "ka",
+ "km": "km",
+ "kn": "kn",
+ "ko": "ko",
+ "ks": "ks",
+ "ksh": "ksh",
+ "kw": "kw",
+ "lb": "lb",
+ "lg": "lg",
+ "ln": "ln",
+ "lo": "lo",
+ "lt": "lt",
+ "lv": "lv",
+ "mai": "mai",
+ "mk": "mk",
+ "ml": "ml",
+ "mn": "mn",
+ "mr": "mr",
+ "ms": "ms",
+ "mt": "mt",
+ "nds": "nds-nl",
+ "ne": "ne",
+ "no": "no",
+ "om": "om",
+ "or": "or",
+ "os": "os",
+ "pa": "pa",
+ "pl": "pl",
+ "ps": "ps",
+ "pt": "pt",
+ "qu": "qu",
+ "rm": "rm",
+ "ro": "ro",
+ "ru": "ru",
+ "rw": "rw",
+ "sa": "sa",
+ "sah": "sah",
+ "sd": "sd",
+ "se": "se",
+ "shi": "shi",
+ "si": "si",
+ "sk": "sk",
+ "sl": "sl",
+ "smn": "smn",
+ "so": "so",
+ "sq": "sq",
+ "sr": "sr",
+ "ta": "ta",
+ "te": "te",
+ "th": "th",
+ "tk": "tk",
+ "to": "to",
+ "tr": "tr",
+ "ug": "ug",
+ "uk": "uk",
+ "ur": "ur",
+ "uz": "uz",
+ "vi": "vi",
+ "wo": "wo",
+ "xh": "xh",
+ "yi": "yi",
+ "zh": "zh",
+ "zh_Hans": "zh",
+ "zh_Hant": "zh-classical"
+ },
"regions": {},
"supported_languages": {
"ab": {