Improve the UI and tests

This commit is contained in:
Urtzi Alfaro
2025-11-15 21:21:06 +01:00
parent 86d704b354
commit 54b7a5e080
44 changed files with 2268 additions and 1414 deletions

View File

@@ -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,