diff options
author | marc <a01200356@itesm.mx> | 2017-03-01 17:11:51 -0600 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2017-03-18 23:44:21 +0100 |
commit | fd65c1292179fb082e965a1ee6a88b9298a54fc1 (patch) | |
tree | bd2cc7302a1b7d81f2294aab1ad1de0aedd0bdd8 /searx/languages.py | |
parent | 805fb02ed1fb7f8e006c8def7d76a0d1958364bf (diff) | |
download | searxng-fd65c1292179fb082e965a1ee6a88b9298a54fc1.tar.gz searxng-fd65c1292179fb082e965a1ee6a88b9298a54fc1.zip |
make search language handling less strict
languages.py can change, so users may query on a language that is not
on the list anymore, even if it is still recognized by a few engines.
also made no and nb the same because they seem to return the same,
though most engines will only support one or the other.
Diffstat (limited to 'searx/languages.py')
-rw-r--r-- | searx/languages.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/languages.py b/searx/languages.py index 09a960787..22229f797 100644 --- a/searx/languages.py +++ b/searx/languages.py @@ -57,6 +57,7 @@ language_codes = ( (u"nl", u"Nederlands", u"", u"Dutch"), (u"nl-BE", u"Nederlands", u"België", u"Dutch"), (u"nl-NL", u"Nederlands", u"Nederland", u"Dutch"), + (u"no-NO", u"Norsk", u"", u"Norwegian"), (u"pl-PL", u"Polski", u"", u"Polish"), (u"pt", u"Português", u"", u"Portuguese"), (u"pt-BR", u"Português", u"Brasil", u"Portuguese"), |