From 7c0a3019c25b18d677d410ff157d1c0e239d01ac Mon Sep 17 00:00:00 2001 From: Lugiad <2070109+Adri1@users.noreply.github.com> Date: Sat, 29 Mar 2025 17:56:30 +0100 Subject: [PATCH] Update i18n.ts --- src/plugins/i18n.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/i18n.ts b/src/plugins/i18n.ts index 3498873c953..5e145d08e28 100644 --- a/src/plugins/i18n.ts +++ b/src/plugins/i18n.ts @@ -170,7 +170,10 @@ export async function initI18n(): Promise { i18next.use(processor); i18next.use(new KoreanPostpositionProcessor()); await i18next.init({ - fallbackLng: "en", + fallbackLng: { + "es-MX": ["es-ES", "en"], + default: ["en"], + }, supportedLngs: ["en", "es-ES", "es-MX", "fr", "it", "de", "zh-CN", "zh-TW", "pt-BR", "ko", "ja", "ca-ES"], backend: { loadPath(lng: string, [ns]: string[]) {