feat: add language to topmenu + globals cleanup + i18n refactor (#3510)
This commit is contained in:
@@ -225,7 +225,15 @@ window.app.use(Quasar, {
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
window.i18n = new VueI18n.createI18n({
|
||||
locale: window.g.locale,
|
||||
fallbackLocale: 'en',
|
||||
messages: window.localisation
|
||||
})
|
||||
|
||||
window.app.use(window.i18n)
|
||||
|
||||
window.app.provide('g', g)
|
||||
window.app.use(window.router)
|
||||
window.app.component('DynamicComponent', DynamicComponent)
|
||||
|
||||
Reference in New Issue
Block a user