Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] add back missing languages & regions (followup of PR #1071) #1139

Merged
merged 1 commit into from Apr 22, 2022

Conversation

return42
Copy link
Member

In PR #1071 the language catalog of dailymotion has been cleaned up, before
there had been over 7000 "languages" in the catalog.

As a side effect of this clean-up the language & region catalog in SearXNG has
been reduced [1].

This patch reduce the min_engines_per_lang from 13 to 12 to get the missed
languages back in language & region catalog of SearXNG.

[1] 3bb6282#diff-f3f00db0f87f95b882624a192e0aac21525638af0b18c9514e765fcf1991678d

Requested-by: @tiekoetter in a Matrix chat
Signed-off-by: Markus Heiser markus.heiser@darmarit.de

In PR searxng#1071 the language catalog of dailymotion has been cleaned up, before
there had been over 7000 "languages" in the catalog.

As a side effect of this clean-up the language & region catalog in SearXNG has
been reduced [1].

This patch reduce the ``min_engines_per_lang`` from 13 to 12 to get the missed
languages back in language & region catalog of SearXNG.

[1] searxng@3bb6282#diff-f3f00db0f87f95b882624a192e0aac21525638af0b18c9514e765fcf1991678d

Requested-by: @tiekoetter in a Matrix chat
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
searx/languages.py Show resolved Hide resolved
Copy link
Member

@tiekoetter tiekoetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed we should use the Babel definitions to avoid potential problems with our language and region names.

@return42 return42 merged commit 6ff4885 into searxng:master Apr 22, 2022
@return42 return42 deleted the missing-languages branch April 22, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants