From 14f73ef3d9350f9dc783e3daa7889fb781d60933 Mon Sep 17 00:00:00 2001 From: dalf Date: Mon, 29 Jan 2024 00:14:29 +0000 Subject: [PATCH] Update searx.data - update_engine_traits.py --- searx/data/engine_traits.json | 152 +++++++++++++++++-- searx/sxng_locales.py | 16 +- searxng_extra/update/update_engine_traits.py | 4 +- 3 files changed, 157 insertions(+), 15 deletions(-) diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json index 388c9d045..01b007397 100644 --- a/searx/data/engine_traits.json +++ b/searx/data/engine_traits.json @@ -37,9 +37,9 @@ "be": "be", "bg": "bg", "bn": "bn", - "bo": "bo", "ca": "ca", "cs": "cs", + "cu": "cu", "cy": "cy", "da": "da", "de": "de", @@ -48,6 +48,7 @@ "es": "es", "fa": "fa", "fr": "fr", + "ga": "ga", "he": "he", "hi": "hi", "hr": "hr", @@ -57,6 +58,7 @@ "ja": "ja", "kk": "kk", "ko": "ko", + "la": "la", "lb": "lb", "lt": "lt", "lv": "lv", @@ -66,12 +68,12 @@ "pt": "pt", "ro": "ro", "ru": "ru", - "rw": "rw", "sr": "sr", "sv": "sv", "ta": "ta", "tr": "tr", "uk": "uk", + "ur": "ur", "vi": "vi", "zh": "zh", "zh_Hant": "zh-Hant" @@ -197,12 +199,14 @@ "ne": "ne-ne", "nl": "nl-nl", "nn": "nn-nn", + "nso": "nso-nso", "or": "or-or", "pa_Arab": "pa-arab", "pa_Guru": "pa-guru", "pl": "pl-pl", "pt": "pt-br", "qu": "quz-quz", + "quc": "quc-quc", "ro": "ro-ro", "ru": "ru-ru", "rw": "rw-rw", @@ -221,6 +225,7 @@ "th": "th-th", "ti": "ti-ti", "tk": "tk-tk", + "tn": "tn-tn", "tr": "tr-tr", "tt": "tt-tt", "ug": "ug-ug", @@ -510,6 +515,7 @@ "th-TH": "th-th", "ti-ER": "ti-er", "tk-TM": "tk-tm", + "tn-BW": "tn-bw", "tr-CY": "tr-cy", "tr-TR": "tr-tr", "uk-UA": "uk-ua", @@ -591,12 +597,14 @@ "ne": "ne-ne", "nl": "nl-nl", "nn": "nn-nn", + "nso": "nso-nso", "or": "or-or", "pa_Arab": "pa-arab", "pa_Guru": "pa-guru", "pl": "pl-pl", "pt": "pt-br", "qu": "quz-quz", + "quc": "quc-quc", "ro": "ro-ro", "ru": "ru-ru", "rw": "rw-rw", @@ -615,6 +623,7 @@ "th": "th-th", "ti": "ti-ti", "tk": "tk-tk", + "tn": "tn-tn", "tr": "tr-tr", "tt": "tt-tt", "ug": "ug-ug", @@ -904,6 +913,7 @@ "th-TH": "th-th", "ti-ER": "ti-er", "tk-TM": "tk-tm", + "tn-BW": "tn-bw", "tr-CY": "tr-cy", "tr-TR": "tr-tr", "uk-UA": "uk-ua", @@ -985,12 +995,14 @@ "ne": "ne-ne", "nl": "nl-nl", "nn": "nn-nn", + "nso": "nso-nso", "or": "or-or", "pa_Arab": "pa-arab", "pa_Guru": "pa-guru", "pl": "pl-pl", "pt": "pt-br", "qu": "quz-quz", + "quc": "quc-quc", "ro": "ro-ro", "ru": "ru-ru", "rw": "rw-rw", @@ -1009,6 +1021,7 @@ "th": "th-th", "ti": "ti-ti", "tk": "tk-tk", + "tn": "tn-tn", "tr": "tr-tr", "tt": "tt-tt", "ug": "ug-ug", @@ -1298,6 +1311,7 @@ "th-TH": "th-th", "ti-ER": "ti-er", "tk-TM": "tk-tm", + "tn-BW": "tn-bw", "tr-CY": "tr-cy", "tr-TR": "tr-tr", "uk-UA": "uk-ua", @@ -1379,12 +1393,14 @@ "ne": "ne-ne", "nl": "nl-nl", "nn": "nn-nn", + "nso": "nso-nso", "or": "or-or", "pa_Arab": "pa-arab", "pa_Guru": "pa-guru", "pl": "pl-pl", "pt": "pt-br", "qu": "quz-quz", + "quc": "quc-quc", "ro": "ro-ro", "ru": "ru-ru", "rw": "rw-rw", @@ -1403,6 +1419,7 @@ "th": "th-th", "ti": "ti-ti", "tk": "tk-tk", + "tn": "tn-tn", "tr": "tr-tr", "tt": "tt-tt", "ug": "ug-ug", @@ -1692,6 +1709,7 @@ "th-TH": "th-th", "ti-ER": "ti-er", "tk-TM": "tk-tm", + "tn-BW": "tn-bw", "tr-CY": "tr-cy", "tr-TR": "tr-tr", "uk-UA": "uk-ua", @@ -1716,8 +1734,10 @@ "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", + "it": "it", "ja-JP": "ja-jp", "pt-BR": "pt-br", "sq-AL": "sq-al" @@ -1786,8 +1806,10 @@ "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", + "it": "it", "ja-JP": "ja-jp", "pt-BR": "pt-br", "sq-AL": "sq-al" @@ -1856,8 +1878,10 @@ "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", + "it": "it", "ja-JP": "ja-jp", "pt-BR": "pt-br", "sq-AL": "sq-al" @@ -1926,8 +1950,10 @@ "en-GB": "en-gb", "en-US": "en-us", "es": "es", + "fi-FI": "fi-fi", "fr-CA": "fr-ca", "fr-FR": "fr-fr", + "it": "it", "ja-JP": "ja-jp", "pt-BR": "pt-br", "sq-AL": "sq-al" @@ -3092,6 +3118,7 @@ "ceb": "lang_ceb", "chr": "lang_chr", "ckb": "lang_ckb", + "co": "lang_co", "cs": "lang_cs", "cy": "lang_cy", "da": "lang_da", @@ -3110,8 +3137,10 @@ "fr": "lang_fr", "fy": "lang_fy", "ga": "lang_ga", + "gaa": "lang_gaa", "gd": "lang_gd", "gl": "lang_gl", + "gn": "lang_gn", "gu": "lang_gu", "ha": "lang_ha", "haw": "lang_haw", @@ -3133,6 +3162,7 @@ "kn": "lang_kn", "ko": "lang_ko", "ky": "lang_ky", + "la": "lang_la", "lg": "lang_lg", "ln": "lang_ln", "lo": "lang_lo", @@ -3152,6 +3182,8 @@ "ne": "lang_ne", "nl": "lang_nl", "nn": "lang_nn", + "nso": "lang_nso", + "ny": "lang_ny", "nyn": "lang_nyn", "oc": "lang_oc", "om": "lang_om", @@ -3176,6 +3208,7 @@ "sq": "lang_sq", "sr": "lang_sr", "sr_Latn": "lang_sr-ME", + "st": "lang_st", "su": "lang_su", "sv": "lang_sv", "sw": "lang_sw", @@ -3185,6 +3218,7 @@ "th": "lang_th", "ti": "lang_ti", "tk": "lang_tk", + "tn": "lang_tn", "to": "lang_to", "tr": "lang_tr", "tt": "lang_tt", @@ -3362,8 +3396,10 @@ "fy-NL": "NL", "ga-GB": "GB", "ga-IE": "IE", + "gaa-GH": "GH", "gd-GB": "GB", "gl-ES": "ES", + "gn-PY": "PY", "gu-IN": "IN", "haw-US": "US", "he-IL": "IL", @@ -3397,6 +3433,8 @@ "nl-NL": "NL", "nl-SR": "SR", "nn-NO": "NO", + "nso-ZA": "ZA", + "ny-MW": "MW", "oc-ES": "ES", "or-IN": "IN", "pa-IN": "IN", @@ -3429,6 +3467,8 @@ "so-SO": "SO", "sr-BA": "BA", "sr-RS": "RS", + "st-LS": "LS", + "st-ZA": "ZA", "sv-FI": "FI", "sv-SE": "SE", "sw-CD": "CD", @@ -3439,6 +3479,8 @@ "ta-SG": "SG", "te-IN": "IN", "th-TH": "TH", + "tn-BW": "BW", + "tn-ZA": "ZA", "to-TO": "TO", "tr-CY": "CY", "tr-TR": "TR", @@ -3666,6 +3708,7 @@ "ceb": "lang_ceb", "chr": "lang_chr", "ckb": "lang_ckb", + "co": "lang_co", "cs": "lang_cs", "cy": "lang_cy", "da": "lang_da", @@ -3684,8 +3727,10 @@ "fr": "lang_fr", "fy": "lang_fy", "ga": "lang_ga", + "gaa": "lang_gaa", "gd": "lang_gd", "gl": "lang_gl", + "gn": "lang_gn", "gu": "lang_gu", "ha": "lang_ha", "haw": "lang_haw", @@ -3707,6 +3752,7 @@ "kn": "lang_kn", "ko": "lang_ko", "ky": "lang_ky", + "la": "lang_la", "lg": "lang_lg", "ln": "lang_ln", "lo": "lang_lo", @@ -3726,6 +3772,8 @@ "ne": "lang_ne", "nl": "lang_nl", "nn": "lang_nn", + "nso": "lang_nso", + "ny": "lang_ny", "nyn": "lang_nyn", "oc": "lang_oc", "om": "lang_om", @@ -3750,6 +3798,7 @@ "sq": "lang_sq", "sr": "lang_sr", "sr_Latn": "lang_sr-ME", + "st": "lang_st", "su": "lang_su", "sv": "lang_sv", "sw": "lang_sw", @@ -3759,6 +3808,7 @@ "th": "lang_th", "ti": "lang_ti", "tk": "lang_tk", + "tn": "lang_tn", "to": "lang_to", "tr": "lang_tr", "tt": "lang_tt", @@ -3936,8 +3986,10 @@ "fy-NL": "NL", "ga-GB": "GB", "ga-IE": "IE", + "gaa-GH": "GH", "gd-GB": "GB", "gl-ES": "ES", + "gn-PY": "PY", "gu-IN": "IN", "haw-US": "US", "he-IL": "IL", @@ -3971,6 +4023,8 @@ "nl-NL": "NL", "nl-SR": "SR", "nn-NO": "NO", + "nso-ZA": "ZA", + "ny-MW": "MW", "oc-ES": "ES", "or-IN": "IN", "pa-IN": "IN", @@ -4003,6 +4057,8 @@ "so-SO": "SO", "sr-BA": "BA", "sr-RS": "RS", + "st-LS": "LS", + "st-ZA": "ZA", "sv-FI": "FI", "sv-SE": "SE", "sw-CD": "CD", @@ -4013,6 +4069,8 @@ "ta-SG": "SG", "te-IN": "IN", "th-TH": "TH", + "tn-BW": "BW", + "tn-ZA": "ZA", "to-TO": "TO", "tr-CY": "CY", "tr-TR": "TR", @@ -4136,6 +4194,7 @@ "ceb": "lang_ceb", "chr": "lang_chr", "ckb": "lang_ckb", + "co": "lang_co", "cs": "lang_cs", "cy": "lang_cy", "da": "lang_da", @@ -4154,8 +4213,10 @@ "fr": "lang_fr", "fy": "lang_fy", "ga": "lang_ga", + "gaa": "lang_gaa", "gd": "lang_gd", "gl": "lang_gl", + "gn": "lang_gn", "gu": "lang_gu", "ha": "lang_ha", "haw": "lang_haw", @@ -4177,6 +4238,7 @@ "kn": "lang_kn", "ko": "lang_ko", "ky": "lang_ky", + "la": "lang_la", "lg": "lang_lg", "ln": "lang_ln", "lo": "lang_lo", @@ -4196,6 +4258,8 @@ "ne": "lang_ne", "nl": "lang_nl", "nn": "lang_nn", + "nso": "lang_nso", + "ny": "lang_ny", "nyn": "lang_nyn", "oc": "lang_oc", "om": "lang_om", @@ -4220,6 +4284,7 @@ "sq": "lang_sq", "sr": "lang_sr", "sr_Latn": "lang_sr-ME", + "st": "lang_st", "su": "lang_su", "sv": "lang_sv", "sw": "lang_sw", @@ -4229,6 +4294,7 @@ "th": "lang_th", "ti": "lang_ti", "tk": "lang_tk", + "tn": "lang_tn", "to": "lang_to", "tr": "lang_tr", "tt": "lang_tt", @@ -4406,8 +4472,10 @@ "fy-NL": "NL", "ga-GB": "GB", "ga-IE": "IE", + "gaa-GH": "GH", "gd-GB": "GB", "gl-ES": "ES", + "gn-PY": "PY", "gu-IN": "IN", "haw-US": "US", "he-IL": "IL", @@ -4441,6 +4509,8 @@ "nl-NL": "NL", "nl-SR": "SR", "nn-NO": "NO", + "nso-ZA": "ZA", + "ny-MW": "MW", "oc-ES": "ES", "or-IN": "IN", "pa-IN": "IN", @@ -4473,6 +4543,8 @@ "so-SO": "SO", "sr-BA": "BA", "sr-RS": "RS", + "st-LS": "LS", + "st-ZA": "ZA", "sv-FI": "FI", "sv-SE": "SE", "sw-CD": "CD", @@ -4483,6 +4555,8 @@ "ta-SG": "SG", "te-IN": "IN", "th-TH": "TH", + "tn-BW": "BW", + "tn-ZA": "ZA", "to-TO": "TO", "tr-CY": "CY", "tr-TR": "TR", @@ -4710,6 +4784,7 @@ "ceb": "lang_ceb", "chr": "lang_chr", "ckb": "lang_ckb", + "co": "lang_co", "cs": "lang_cs", "cy": "lang_cy", "da": "lang_da", @@ -4728,8 +4803,10 @@ "fr": "lang_fr", "fy": "lang_fy", "ga": "lang_ga", + "gaa": "lang_gaa", "gd": "lang_gd", "gl": "lang_gl", + "gn": "lang_gn", "gu": "lang_gu", "ha": "lang_ha", "haw": "lang_haw", @@ -4751,6 +4828,7 @@ "kn": "lang_kn", "ko": "lang_ko", "ky": "lang_ky", + "la": "lang_la", "lg": "lang_lg", "ln": "lang_ln", "lo": "lang_lo", @@ -4770,6 +4848,8 @@ "ne": "lang_ne", "nl": "lang_nl", "nn": "lang_nn", + "nso": "lang_nso", + "ny": "lang_ny", "nyn": "lang_nyn", "oc": "lang_oc", "om": "lang_om", @@ -4794,6 +4874,7 @@ "sq": "lang_sq", "sr": "lang_sr", "sr_Latn": "lang_sr-ME", + "st": "lang_st", "su": "lang_su", "sv": "lang_sv", "sw": "lang_sw", @@ -4803,6 +4884,7 @@ "th": "lang_th", "ti": "lang_ti", "tk": "lang_tk", + "tn": "lang_tn", "to": "lang_to", "tr": "lang_tr", "tt": "lang_tt", @@ -4980,8 +5062,10 @@ "fy-NL": "NL", "ga-GB": "GB", "ga-IE": "IE", + "gaa-GH": "GH", "gd-GB": "GB", "gl-ES": "ES", + "gn-PY": "PY", "gu-IN": "IN", "haw-US": "US", "he-IL": "IL", @@ -5015,6 +5099,8 @@ "nl-NL": "NL", "nl-SR": "SR", "nn-NO": "NO", + "nso-ZA": "ZA", + "ny-MW": "MW", "oc-ES": "ES", "or-IN": "IN", "pa-IN": "IN", @@ -5047,6 +5133,8 @@ "so-SO": "SO", "sr-BA": "BA", "sr-RS": "RS", + "st-LS": "LS", + "st-ZA": "ZA", "sv-FI": "FI", "sv-SE": "SE", "sw-CD": "CD", @@ -5057,6 +5145,8 @@ "ta-SG": "SG", "te-IN": "IN", "th-TH": "TH", + "tn-BW": "BW", + "tn-ZA": "ZA", "to-TO": "TO", "tr-CY": "CY", "tr-TR": "TR", @@ -5284,6 +5374,7 @@ "ceb": "lang_ceb", "chr": "lang_chr", "ckb": "lang_ckb", + "co": "lang_co", "cs": "lang_cs", "cy": "lang_cy", "da": "lang_da", @@ -5302,8 +5393,10 @@ "fr": "lang_fr", "fy": "lang_fy", "ga": "lang_ga", + "gaa": "lang_gaa", "gd": "lang_gd", "gl": "lang_gl", + "gn": "lang_gn", "gu": "lang_gu", "ha": "lang_ha", "haw": "lang_haw", @@ -5325,6 +5418,7 @@ "kn": "lang_kn", "ko": "lang_ko", "ky": "lang_ky", + "la": "lang_la", "lg": "lang_lg", "ln": "lang_ln", "lo": "lang_lo", @@ -5344,6 +5438,8 @@ "ne": "lang_ne", "nl": "lang_nl", "nn": "lang_nn", + "nso": "lang_nso", + "ny": "lang_ny", "nyn": "lang_nyn", "oc": "lang_oc", "om": "lang_om", @@ -5368,6 +5464,7 @@ "sq": "lang_sq", "sr": "lang_sr", "sr_Latn": "lang_sr-ME", + "st": "lang_st", "su": "lang_su", "sv": "lang_sv", "sw": "lang_sw", @@ -5377,6 +5474,7 @@ "th": "lang_th", "ti": "lang_ti", "tk": "lang_tk", + "tn": "lang_tn", "to": "lang_to", "tr": "lang_tr", "tt": "lang_tt", @@ -5554,8 +5652,10 @@ "fy-NL": "NL", "ga-GB": "GB", "ga-IE": "IE", + "gaa-GH": "GH", "gd-GB": "GB", "gl-ES": "ES", + "gn-PY": "PY", "gu-IN": "IN", "haw-US": "US", "he-IL": "IL", @@ -5589,6 +5689,8 @@ "nl-NL": "NL", "nl-SR": "SR", "nn-NO": "NO", + "nso-ZA": "ZA", + "ny-MW": "MW", "oc-ES": "ES", "or-IN": "IN", "pa-IN": "IN", @@ -5621,6 +5723,8 @@ "so-SO": "SO", "sr-BA": "BA", "sr-RS": "RS", + "st-LS": "LS", + "st-ZA": "ZA", "sv-FI": "FI", "sv-SE": "SE", "sw-CD": "CD", @@ -5631,6 +5735,8 @@ "ta-SG": "SG", "te-IN": "IN", "th-TH": "TH", + "tn-BW": "BW", + "tn-ZA": "ZA", "to-TO": "TO", "tr-CY": "CY", "tr-TR": "TR", @@ -5973,7 +6079,6 @@ "FK", "FO", "FR", - "GA", "GB", "GD", "GE", @@ -6021,7 +6126,6 @@ "KZ", "LB", "LC", - "LI", "LK", "LS", "LT", @@ -6048,7 +6152,6 @@ "NA", "NC", "NE", - "NF", "NG", "NI", "NL", @@ -6075,7 +6178,6 @@ "RU", "RW", "SA", - "SB", "SC", "SD", "SE", @@ -6102,7 +6204,6 @@ "TJ", "TM", "TN", - "TO", "TR", "TT", "TW", @@ -6137,6 +6238,7 @@ "as": "assamese", "ast": "asturian", "az": "azerbaijani", + "ba": "bashkir", "be": "belarusian", "bg": "bulgarian", "bm": "bambara", @@ -6166,6 +6268,7 @@ "ga": "irish", "gd": "gaelic", "gl": "galician", + "gn": "guarani", "gsw": "swiss german", "gu": "gujarati", "gv": "manx", @@ -6177,8 +6280,10 @@ "hu": "hungarian", "hy": "armenian", "id": "indonesian", + "ig": "igbo", "is": "icelandic", "it": "italian", + "iu": "inuktitut", "ja": "japanese", "jv": "javanese", "ka": "georgian", @@ -6187,8 +6292,8 @@ "km": "khmer", "kn": "kannada", "ko": "korean", - "ks": "kashmiri", "ku": "kurdish", + "la": "latin", "lb": "luxembourgish", "ln": "lingala", "lt": "lithuanian", @@ -6242,7 +6347,6 @@ "wo": "wolof", "xh": "xhosa", "yi": "yiddish", - "yo": "yoruba", "yue": "cantonese", "zh": "chinese", "zh_Hans": "mandarin" @@ -6439,9 +6543,11 @@ "languages": { "af": "af", "am": "am", + "an": "an", "ar": "ar", "as": "as", "az": "az", + "ba": "ba", "be": "be", "bg": "bg", "bn": "bn", @@ -6514,6 +6620,8 @@ "ur": "ur", "uz": "uz", "vi": "vi", + "vo": "vo", + "wa": "wa", "yi": "yi", "zh": "zh", "zh_Hans": "zh", @@ -6864,9 +6972,11 @@ "af": "af.wikipedia.org", "als": "als.wikipedia.org", "am": "am.wikipedia.org", + "an": "an.wikipedia.org", "ar": "ar.wikipedia.org", "as": "as.wikipedia.org", "az": "az.wikipedia.org", + "ba": "ba.wikipedia.org", "be": "be.wikipedia.org", "bg": "bg.wikipedia.org", "bn": "bn.wikipedia.org", @@ -6938,6 +7048,8 @@ "ur": "ur.wikipedia.org", "uz": "uz.wikipedia.org", "vi": "vi.wikipedia.org", + "vo": "vo.wikipedia.org", + "wa": "wa.wikipedia.org", "yi": "yi.wikipedia.org", "zh": "zh.wikipedia.org" } @@ -6946,9 +7058,11 @@ "languages": { "af": "af", "am": "am", + "an": "an", "ar": "ar", "as": "as", "az": "az", + "ba": "ba", "be": "be", "bg": "bg", "bn": "bn", @@ -7021,6 +7135,8 @@ "ur": "ur", "uz": "uz", "vi": "vi", + "vo": "vo", + "wa": "wa", "yi": "yi", "zh": "zh", "zh_Hans": "zh", @@ -7095,6 +7211,7 @@ ], "year_from": [ "", + "2024", "2023", "2022", "2021", @@ -7322,6 +7439,7 @@ ], "year_to": [ "", + "2024", "2023", "2022", "2021", @@ -7550,12 +7668,16 @@ }, "data_type": "traits_v1", "languages": { + "aa": "afar", + "ab": "abkhazian", "af": "afrikaans", "ak": "akan", "am": "amharic", + "an": "aragonese", "ar": "arabic", "as": "assamese", "az": "azerbaijani", + "ba": "bashkir", "be": "belarusian", "bg": "bulgarian", "bm": "bambara", @@ -7564,11 +7686,13 @@ "bs": "bosnian", "ca": "catalan", "ce": "chechen", + "co": "corsican", "cs": "czech", "cv": "chuvash", "cy": "welsh", "da": "danish", "de": "german", + "dv": "divehi", "dz": "dzongkha", "ee": "ewe", "el": "greek", @@ -7583,6 +7707,7 @@ "fr": "french", "ga": "irish", "gl": "galician", + "gn": "guarani", "gu": "gujarati", "gv": "manx", "ha": "hausa", @@ -7594,8 +7719,10 @@ "ia": "interlingua", "id": "indonesian", "ig": "igbo", + "io": "ido", "is": "icelandic", "it": "italian", + "iu": "inuktitut", "ja": "japanese", "jv": "javanese", "ka": "georgian", @@ -7608,6 +7735,7 @@ "ku": "kurdish", "kw": "cornish", "ky": "kyrgyz", + "la": "latin", "lb": "luxembourgish", "lg": "ganda", "ln": "lingala", @@ -7625,6 +7753,7 @@ "ne": "nepali", "nl": "dutch", "no": "norwegian", + "nv": "navajo", "oc": "occitan", "om": "oromo", "or": "odia", @@ -7649,6 +7778,7 @@ "so": "somali", "sq": "albanian", "sr": "serbian", + "ss": "swati", "su": "sundanese", "sv": "swedish", "sw": "swahili", @@ -7658,12 +7788,16 @@ "th": "thai", "ti": "tigrinya", "tk": "turkmen", + "tn": "tswana", "tr": "turkish", + "ts": "tsonga", "tt": "tatar", "uk": "ukrainian", "ur": "urdu", "uz": "uzbek", + "ve": "venda", "vi": "vietnamese", + "wa": "walloon", "wo": "wolof", "xh": "xhosa", "yi": "yiddish", diff --git a/searx/sxng_locales.py b/searx/sxng_locales.py index dd601d328..1ea673d7c 100644 --- a/searx/sxng_locales.py +++ b/searx/sxng_locales.py @@ -31,17 +31,19 @@ sxng_locales = ( ('en-GB', 'English', 'United Kingdom', 'English', '\U0001f1ec\U0001f1e7'), ('en-IE', 'English', 'Ireland', 'English', '\U0001f1ee\U0001f1ea'), ('en-IN', 'English', 'India', 'English', '\U0001f1ee\U0001f1f3'), - ('en-MY', 'English', 'Malaysia', 'English', '\U0001f1f2\U0001f1fe'), ('en-NZ', 'English', 'New Zealand', 'English', '\U0001f1f3\U0001f1ff'), ('en-PH', 'English', 'Philippines', 'English', '\U0001f1f5\U0001f1ed'), + ('en-PK', 'English', 'Pakistan', 'English', '\U0001f1f5\U0001f1f0'), + ('en-SG', 'English', 'Singapore', 'English', '\U0001f1f8\U0001f1ec'), ('en-US', 'English', 'United States', 'English', '\U0001f1fa\U0001f1f8'), ('en-ZA', 'English', 'South Africa', 'English', '\U0001f1ff\U0001f1e6'), ('es', 'Español', '', 'Spanish', '\U0001f310'), ('es-AR', 'Español', 'Argentina', 'Spanish', '\U0001f1e6\U0001f1f7'), ('es-CL', 'Español', 'Chile', 'Spanish', '\U0001f1e8\U0001f1f1'), + ('es-CO', 'Español', 'Colombia', 'Spanish', '\U0001f1e8\U0001f1f4'), ('es-ES', 'Español', 'España', 'Spanish', '\U0001f1ea\U0001f1f8'), ('es-MX', 'Español', 'México', 'Spanish', '\U0001f1f2\U0001f1fd'), - ('es-US', 'Español', 'Estados Unidos', 'Spanish', '\U0001f1fa\U0001f1f8'), + ('es-PE', 'Español', 'Perú', 'Spanish', '\U0001f1f5\U0001f1ea'), ('et', 'Eesti', '', 'Estonian', '\U0001f310'), ('et-EE', 'Eesti', 'Eesti', 'Estonian', '\U0001f1ea\U0001f1ea'), ('fa', 'فارسی', '', 'Persian', '\U0001f310'), @@ -59,16 +61,19 @@ sxng_locales = ( ('hu-HU', 'Magyar', 'Magyarország', 'Hungarian', '\U0001f1ed\U0001f1fa'), ('id', 'Indonesia', '', 'Indonesian', '\U0001f310'), ('id-ID', 'Indonesia', 'Indonesia', 'Indonesian', '\U0001f1ee\U0001f1e9'), - ('is', 'Íslenska', '', 'Icelandic', '\U0001f310'), ('it', 'Italiano', '', 'Italian', '\U0001f310'), ('it-CH', 'Italiano', 'Svizzera', 'Italian', '\U0001f1e8\U0001f1ed'), ('it-IT', 'Italiano', 'Italia', 'Italian', '\U0001f1ee\U0001f1f9'), ('ja', '日本語', '', 'Japanese', '\U0001f310'), ('ja-JP', '日本語', '日本', 'Japanese', '\U0001f1ef\U0001f1f5'), + ('kn', 'ಕನ್ನಡ', '', 'Kannada', '\U0001f310'), ('ko', '한국어', '', 'Korean', '\U0001f310'), ('ko-KR', '한국어', '대한민국', 'Korean', '\U0001f1f0\U0001f1f7'), ('lt', 'Lietuvių', '', 'Lithuanian', '\U0001f310'), ('lv', 'Latviešu', '', 'Latvian', '\U0001f310'), + ('ml', 'മലയാളം', '', 'Malayalam', '\U0001f310'), + ('mr', 'मराठी', '', 'Marathi', '\U0001f310'), + ('ms', 'Melayu', '', 'Malay', '\U0001f310'), ('nb', 'Norsk Bokmål', '', 'Norwegian Bokmål', '\U0001f310'), ('nb-NO', 'Norsk Bokmål', 'Norge', 'Norwegian Bokmål', '\U0001f1f3\U0001f1f4'), ('nl', 'Nederlands', '', 'Dutch', '\U0001f310'), @@ -85,15 +90,18 @@ sxng_locales = ( ('ru-RU', 'Русский', 'Россия', 'Russian', '\U0001f1f7\U0001f1fa'), ('sk', 'Slovenčina', '', 'Slovak', '\U0001f310'), ('sl', 'Slovenščina', '', 'Slovenian', '\U0001f310'), - ('sr', 'Српски', '', 'Serbian', '\U0001f310'), ('sv', 'Svenska', '', 'Swedish', '\U0001f310'), ('sv-SE', 'Svenska', 'Sverige', 'Swedish', '\U0001f1f8\U0001f1ea'), + ('ta', 'தமிழ்', '', 'Tamil', '\U0001f310'), ('th', 'ไทย', '', 'Thai', '\U0001f310'), ('th-TH', 'ไทย', 'ไทย', 'Thai', '\U0001f1f9\U0001f1ed'), ('tr', 'Türkçe', '', 'Turkish', '\U0001f310'), ('tr-TR', 'Türkçe', 'Türkiye', 'Turkish', '\U0001f1f9\U0001f1f7'), ('uk', 'Українська', '', 'Ukrainian', '\U0001f310'), + ('uk-UA', 'Українська', 'Україна', 'Ukrainian', '\U0001f1fa\U0001f1e6'), + ('ur', 'اردو', '', 'Urdu', '\U0001f310'), ('vi', 'Tiếng Việt', '', 'Vietnamese', '\U0001f310'), + ('vi-VN', 'Tiếng Việt', 'Việt Nam', 'Vietnamese', '\U0001f1fb\U0001f1f3'), ('zh', '中文', '', 'Chinese', '\U0001f310'), ('zh-CN', '中文', '中国', 'Chinese', '\U0001f1e8\U0001f1f3'), ('zh-HK', '中文', '中國香港特別行政區', 'Chinese', '\U0001f1ed\U0001f1f0'), diff --git a/searxng_extra/update/update_engine_traits.py b/searxng_extra/update/update_engine_traits.py index 37f4a8745..46892cc2b 100755 --- a/searxng_extra/update/update_engine_traits.py +++ b/searxng_extra/update/update_engine_traits.py @@ -100,8 +100,8 @@ def fetch_traits_map(): def filter_locales(traits_map: EngineTraitsMap): """Filter language & region tags by a threshold.""" - min_eng_per_region = 11 - min_eng_per_lang = 13 + min_eng_per_region = 15 + min_eng_per_lang = 20 _ = {} for eng in traits_map.values():