feat: add spanish language

This commit is contained in:
Saul Blanco Tejero
2023-12-07 21:20:21 +01:00
parent c8f730208d
commit f7ff288ff1
5 changed files with 76 additions and 2 deletions

View File

@ -1,6 +1,6 @@
export const i18n = {
defaultLocale: 'en',
locales: ['en', 'zh-Hans'],
locales: ['en', 'es', 'zh-Hans'],
} as const
export type Locale = typeof i18n['locales'][number]