mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-07-22 06:30:36 +00:00
Fix language selection to persist between pages and allow for sharing of specfic pages in chosen lang
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user