about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2024-01-03 23:44:36 +0530
committerGitHub <noreply@github.com>2024-01-03 10:14:36 -0800
commit3bee621347df21cf174c6ab3537aba991de0f4d6 (patch)
treebd157187529f0f046af5ba1735891df609ba2bc1 /src/locale/helpers.ts
parent4baef7a2d5d57b437b4420ed6ba1f44b52995d4e (diff)
downloadvoidsky-3bee621347df21cf174c6ab3537aba991de0f4d6.tar.zst
Enable Spanish Localization (#2405)
* add `es` to `lingui.config.js`

* update messages.po

* enable spanish localization
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index cdb5514b5..a9752c76a 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -114,8 +114,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
       // case 'de':
       //   return AppLanguage.de
       // DISABLED until this translation is more thoroughly reviewed -prf
-      // case 'es':
-      //   return AppLanguage.es
+      case 'es':
+        return AppLanguage.es
       case 'fr':
         return AppLanguage.fr
       case 'hi':