about summary refs log tree commit diff
path: root/src/locale/i18n.web.ts
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-12-22 23:30:39 +0530
committerGitHub <noreply@github.com>2023-12-22 23:30:39 +0530
commitc1d7d9a41b091811d8f99a7627d8311468ca6683 (patch)
tree4bba3f70f7920364a95d97a37c35e521b6017e2f /src/locale/i18n.web.ts
parenta5c151c04177e539543b6ad3e9c4504efc722468 (diff)
downloadvoidsky-c1d7d9a41b091811d8f99a7627d8311468ca6683.tar.zst
Add Spanish localization (#2267)
* add french localization

* get dynamic import to work

* fix broken strings

* fix bug

* fix tests

* build files again

* add german locale

* Add german translated strings

* update file details

* fix plural case errors

* make german translations work

* add 'es' as a locale option

* enable spanish translations

* fix spelling mistake
Diffstat (limited to 'src/locale/i18n.web.ts')
-rw-r--r--src/locale/i18n.web.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/locale/i18n.web.ts b/src/locale/i18n.web.ts
index 4172ad47b..08fda1e97 100644
--- a/src/locale/i18n.web.ts
+++ b/src/locale/i18n.web.ts
@@ -24,6 +24,14 @@ export async function dynamicActivate(locale: AppLanguage) {
       mod = await import(`./locales/fr/messages`)
       break
     }
+    case AppLanguage.de: {
+      mod = await import(`./locales/de/messages`)
+      break
+    }
+    case AppLanguage.es: {
+      mod = await import(`./locales/es/messages`)
+      break
+    }
     default: {
       mod = await import(`./locales/en/messages`)
       break