From 50bb4638c5f5acbaad6d2307fc0ebc6cbbe7c60c Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Thu, 27 Mar 2025 17:00:55 +0700 Subject: [PATCH] fix: i18n warn locale not found cause of default locale --- src/boot/i18n.ts | 2 +- src/i18n/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/boot/i18n.ts b/src/boot/i18n.ts index 647f3d10..d786804d 100644 --- a/src/boot/i18n.ts +++ b/src/boot/i18n.ts @@ -26,7 +26,7 @@ export const i18n = createI18n< MessageLanguages, false >({ - locale: 'en-US', + locale: 'eng', legacy: false, messages, }); diff --git a/src/i18n/index.ts b/src/i18n/index.ts index bba1bb34..2801ec03 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -1,7 +1,7 @@ import eng from './eng'; -import tha from './tha'; +import tha from './tha'; // spellchecker:disable-line export default { eng, - tha, + tha, // spellchecker:disable-line };