- Tauri v2 with SQLite plugin and full database schema - React with react-router-dom, i18n (FR/EN), recharts, lucide-react - TailwindCSS v4 with custom Bleu/Creme/Terracotta palette - App shell with sidebar navigation (7 pages) - Dashboard with summary cards, page stubs for all sections - Default category configuration (10 top-level categories) - TypeScript interfaces matching SQLite schema Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
371 B
TypeScript
18 lines
371 B
TypeScript
import i18n from "i18next";
|
|
import { initReactI18next } from "react-i18next";
|
|
import fr from "./locales/fr.json";
|
|
import en from "./locales/en.json";
|
|
|
|
i18n.use(initReactI18next).init({
|
|
resources: {
|
|
fr: { translation: fr },
|
|
en: { translation: en },
|
|
},
|
|
lng: "fr",
|
|
fallbackLng: "en",
|
|
interpolation: {
|
|
escapeValue: false,
|
|
},
|
|
});
|
|
|
|
export default i18n;
|