build ok,

This commit is contained in:
louiscklaw
2025-04-14 09:26:24 +08:00
commit 6c931c1fe8
770 changed files with 63959 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { use } from 'i18next';
import Backend from 'i18next-http-backend';
import { initReactI18next } from 'react-i18next';
import { logger } from '@/lib/default-logger';
export const i18n = use(Backend)
.use(initReactI18next)
.init({ lng: 'en', fallbackLng: 'en', interpolation: { escapeValue: false } })
.catch((err) => {
logger.error('Failed to initialize i18n', err);
});