Browse Source

searx.locale: add Dhivehi language

Alexandre FLAMENT 2 years ago
parent
commit
d8dee21277
1 changed files with 2 additions and 0 deletions
  1. 2 0
      searx/locales.py

+ 2 - 0
searx/locales.py

@@ -35,6 +35,7 @@ RTL_LOCALES: Set[str] = set()
 :py:obj:`locales_initialize`)."""
 
 ADDITIONAL_TRANSLATIONS = {
+    "dv": "ދިވެހި (Dhivehi)",
     "oc": "Occitan",
     "szl": "Ślōnski (Silesian)",
     "pap": "Papiamento",
@@ -43,6 +44,7 @@ ADDITIONAL_TRANSLATIONS = {
 python-babel (see :py:obj:`locales_initialize`)."""
 
 LOCALE_BEST_MATCH = {
+    "dv": "si",
     "oc": 'fr-FR',
     "szl": "pl",
     "nl-BE": "nl",