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
This commit is contained in:
Ansh 2023-12-22 23:30:39 +05:30 committed by GitHub
parent a5c151c041
commit c1d7d9a41b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 4952 additions and 1 deletions

View file

@ -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