Fix language selection to persist between pages and allow for sharing of specfic pages in chosen lang

This commit is contained in:
Starystars67
2025-12-20 17:28:21 +00:00
parent f3269d0bee
commit 07a84f25d5
6 changed files with 115 additions and 33 deletions
+1
View File
@@ -7,6 +7,7 @@ import './style.css'
//const i18n = createI18n({
const initialLocale = localStorage.getItem('lang') || 'en'
const i18n = setupI18n({
legacy: false,
locale: initialLocale,
fallbackLocale: 'en',
messages: {