Skip to content

The Open Source DocuSign Alternative.

chore: enable spanish (#1417)

Lucas Smithc7564ba8f7a5
diff --git a/packages/lib/constants/i18n.ts b/packages/lib/constants/i18n.ts
index d940d490b..a54990e09 100644
--- a/packages/lib/constants/i18n.ts
+++ b/packages/lib/constants/i18n.ts
@@ -1,6 +1,6 @@
import { z } from 'zod';
-export const SUPPORTED_LANGUAGE_CODES = ['de', 'en', 'fr'] as const;
+export const SUPPORTED_LANGUAGE_CODES = ['de', 'en', 'fr', 'es'] as const;
export const ZSupportedLanguageCodeSchema = z.enum(SUPPORTED_LANGUAGE_CODES).catch('en');
@@ -42,4 +42,8 @@ export const SUPPORTED_LANGUAGES: Record<string, SupportedLanguage> = {
full: 'French',
short: 'fr',
},
+ es: {
+ full: 'Spanish',
+ short: 'es',
+ },
} satisfies Record<SupportedLanguageCodes, SupportedLanguage>;