diff --git a/frontend/src/lib/i18n/index.svelte.ts b/frontend/src/lib/i18n/index.svelte.ts index 2cf8e20..1934d67 100644 --- a/frontend/src/lib/i18n/index.svelte.ts +++ b/frontend/src/lib/i18n/index.svelte.ts @@ -6,9 +6,9 @@ export type { Dict, Lang }; export const dictionaries: Record = { en, fr }; class LangState { - current = $state('fr'); + current = $state('en'); toggle() { - this.current = this.current === 'fr' ? 'en' : 'fr'; + this.current = this.current === 'en' ? 'fr' : 'en'; } get t(): Dict { return dictionaries[this.current];