about summary refs log tree commit diff
path: root/src/locale/i18n.web.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/i18n.web.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/i18n.web.ts')
-rw-r--r--src/locale/i18n.web.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/locale/i18n.web.ts b/src/locale/i18n.web.ts
index 9890289d7..8a1d293cd 100644
--- a/src/locale/i18n.web.ts
+++ b/src/locale/i18n.web.ts
@@ -17,11 +17,10 @@ export async function dynamicActivate(locale: AppLanguage) {
     //   mod = await import(`./locales/de/messages`)
     //   break
     // }
-    // DISABLED until this translation is more thoroughly reviewed -prf
-    // case AppLanguage.es: {
-    //   mod = await import(`./locales/es/messages`)
-    //   break
-    // }
+    case AppLanguage.es: {
+      mod = await import(`./locales/es/messages`)
+      break
+    }
     case AppLanguage.fr: {
       mod = await import(`./locales/fr/messages`)
       break