Improve the UI and tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// frontend/src/i18n/index.ts
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
import ICU from 'i18next-icu';
|
||||
import { resources, defaultLanguage, supportedLanguages } from '../locales';
|
||||
|
||||
// Get saved language from localStorage or default
|
||||
@@ -24,6 +25,7 @@ const getSavedLanguage = () => {
|
||||
const initialLanguage = getSavedLanguage();
|
||||
|
||||
i18n
|
||||
.use(ICU)
|
||||
.use(initReactI18next)
|
||||
.init({
|
||||
resources,
|
||||
|
||||
Reference in New Issue
Block a user