costmikuSearch/searx
Markus Heiser 230215c250
[fix] preferences: description not localized for all UI languages (#4844)
The previous implementation for determining the description of an engine did not
take into account that the UI languages ​​can also have a region tag and/or a
script tag:

    el-GR:      Ελληνικά, Ελλάδα (Greek, Greece)
    fa-IR:      فارسی, ایران (Persian, Iran)
    nb-NO:      Norsk bokmål, Norge (Norwegian bokmål, Norway)
    nl-BE:      Nederlands, België (Dutch, Belgium)
    pt-BR:      Português, Brasil (Portuguese, Brazil)
    zh-HK:      中文, 中國香港特別行政區 (Chinese, Hong Kong SAR China)
    zh-Hans-CN: 中文, 中国 (Chinese, China)
    zh-Hant-TW: 中文, 台灣 (Chinese, Taiwan)

Closes: https://github.com/searxng/searxng/issues/4842

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-05-23 17:11:41 +02:00
..
answerers [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
botdetection [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
data [mod] searx.data: lazy load of the data objects (databases) (#4834) 2025-05-22 16:23:30 +02:00
enginelib [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
engines [fix] ddg engine: IndexError exception is raised on empty contend (#4843) 2025-05-23 14:55:22 +02:00
favicons [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
infopage [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
metrics [fix] openmetrics: value is None if there's no data 2024-11-25 16:57:03 +01:00
network [mod] upgrade to httpx 0.28.1 (#4674) 2025-05-20 18:18:07 +02:00
plugins [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
result_types [fix] Result type: remove rstrip "/" form url normalization 2025-04-17 10:24:05 +02:00
search [fix] issues when launching a local development server 2025-04-22 14:26:11 +02:00
static/themes/simple [build] /static 2025-05-22 15:16:54 +02:00
templates/simple [refactor] search.js: use custom auto completion implementation 2025-05-22 15:16:54 +02:00
translations [l10n] update translations from Weblate (#4788) 2025-05-16 09:40:45 +02:00
__init__.py [fix] issues when launching a local development server 2025-04-22 14:26:11 +02:00
autocomplete.py [feat] engines: add Naver engine (#4573) 2025-05-21 18:25:02 +02:00
babel_extract.py
cache.py [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
compat.py [mod] Revision of the favicon solution 2024-10-05 08:18:28 +02:00
exceptions.py [fix] engine: duckduckgo - CAPTCHA detection 2024-10-19 14:55:44 +02:00
extended_types.py [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
external_bang.py
external_urls.py
flaskfix.py
limiter.py [mod] botdetection: HTTP Fetch Metadata Request Headers 2025-05-04 02:07:26 +02:00
limiter.toml [chore] *: fix typos detected by typos-cli 2024-11-24 12:41:57 +01:00
locales.py [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
openmetrics.py [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
preferences.py [refactor] migrate plugins from "module" to class SXNGPlugin 2025-03-29 10:16:43 +01:00
query.py [mod] internal ! and external !! bangs: ignore upper/lower case 2025-04-24 10:40:18 +02:00
redisdb.py
redislib.py
results.py [refactor] typification of SearXNG (MainResult) / result items (part 2) 2025-03-15 10:36:33 +01:00
searxng.msg Revert "[l10n ga] trigger weblate.push.translations (another try)" 2025-01-06 17:12:16 +01:00
settings.yml [feat] engines: add Naver engine (#4573) 2025-05-21 18:25:02 +02:00
settings_defaults.py [enh] tidy: clean old morty, filtron, searx references 2025-05-13 10:37:02 +02:00
settings_loader.py [mod] revision of the settings_loader 2024-07-14 18:10:06 +02:00
sqlitedb.py [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
sxng_locales.py [data] update searx.data - make data.traits (mullvad leta) 2025-04-23 14:06:32 +02:00
unixthreadname.py
utils.py [feat] engines: add Naver engine (#4573) 2025-05-21 18:25:02 +02:00
version.py [mod] rework container deployment (#4764) 2025-05-11 18:12:51 +02:00
webadapter.py [chore] *: fix typos detected by typos-cli 2024-11-24 12:41:57 +01:00
webapp.py [fix] preferences: description not localized for all UI languages (#4844) 2025-05-23 17:11:41 +02:00
webutils.py [fix] issues when launching a local development server 2025-04-22 14:26:11 +02:00