Repository: searxng/searxng

Issue:
Missing language: pt-BR
<!-- PLEASE FILL THESE FIELDS, IT REALLY HELPS THE MAINTAINERS OF SearXNG -->

**Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG**

1.0.0-950-dfdf71bf
(docker)
**How did you install SearXNG?**

Docker

**What happened?**
Language `pt-BR` is missing.
https://github.com/searxng/searxng/blob/master/searx/languages.py

It was present in a previous version.

Google supports this language (and some other engines) but it is not showing up on the list.



Discussion:

Resolving patch:
diff --git a/searx/languages.py b/searx/languages.py
--- a/searx/languages.py
+++ b/searx/languages.py
@@ -19,13 +19,21 @@
     ('en-CA', 'English', 'Canada', 'English'),
     ('en-GB', 'English', 'United Kingdom', 'English'),
     ('en-IE', 'English', 'Ireland', 'English'),
+    ('en-IN', 'English', 'India', 'English'),
+    ('en-MY', 'English', 'Malaysia', 'English'),
     ('en-NZ', 'English', 'New Zealand', 'English'),
+    ('en-PH', 'English', 'Philippines', 'English'),
+    ('en-SG', 'English', 'Singapore', 'English'),
     ('en-US', 'English', 'United States', 'English'),
+    ('en-ZA', 'English', 'South Africa', 'English'),
     ('es', 'Español', '', 'Spanish'),
     ('es-AR', 'Español', 'Argentina', 'Spanish'),
     ('es-CL', 'Español', 'Chile', 'Spanish'),
+    ('es-CO', 'Español', 'Colombia', 'Spanish'),
     ('es-ES', 'Español', 'España', 'Spanish'),
     ('es-MX', 'Español', 'México', 'Spanish'),
+    ('es-PE', 'Español', 'Perú', 'Spanish'),
+    ('es-US', 'Español', 'Estados Unidos', 'Spanish'),
     ('et-EE', 'Eesti', '', 'Estonian'),
     ('fa-IR', 'فارسی', '', 'Persian'),
     ('fi-FI', 'Suomi', '', 'Finnish'),
@@ -49,12 +57,14 @@
     ('nl-BE', 'Nederlands', 'België', 'Dutch'),
     ('nl-NL', 'Nederlands', 'Nederland', 'Dutch'),
     ('pl-PL', 'Polski', '', 'Polish'),
-    ('pt-PT', 'Português', '', 'Portuguese'),
+    ('pt', 'Português', '', 'Portuguese'),
+    ('pt-BR', 'Português', 'Brasil', 'Portuguese'),
+    ('pt-PT', 'Português', 'Portugal', 'Portuguese'),
     ('ro-RO', 'Română', '', 'Romanian'),
     ('ru-RU', 'Русский', '', 'Russian'),
     ('sk-SK', 'Slovenčina', '', 'Slovak'),
     ('sl-SI', 'Slovenščina', '', 'Slovenian'),
-    ('sr-RS', 'Srpski', '', 'Serbian'),
+    ('sr-RS', 'Српски', '', 'Serbian'),
     ('sv-SE', 'Svenska', '', 'Swedish'),
     ('sw-TZ', 'Kiswahili', '', 'Swahili'),
     ('th-TH', 'ไทย', '', 'Thai'),
diff --git a/searxng_extra/update/update_languages.py b/searxng_extra/update/update_languages.py
--- a/searxng_extra/update/update_languages.py
+++ b/searxng_extra/update/update_languages.py
@@ -111,7 +111,7 @@ def join_language_lists(engines_languages):
 # Filter language list so it only includes the most supported languages and countries
 def filter_language_list(all_languages):
     min_engines_per_lang = 13
-    min_engines_per_country = 10
+    min_engines_per_country = 7
     main_engines = [engine_name for engine_name in engines.keys()
                     if 'general' in engines[engine_name].categories and
                        engines[engine_name].supported_languages and


Test patch: