Initial commit: SIBU 2.0 MISSION
This commit is contained in:
16
frontend/src/i18n/index.ts
Normal file
16
frontend/src/i18n/index.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import es from './locales/es.json'
|
||||
import en from './locales/en.json'
|
||||
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
locale: 'es', // Spanish as default
|
||||
fallbackLocale: 'es',
|
||||
messages: {
|
||||
es,
|
||||
en,
|
||||
},
|
||||
})
|
||||
|
||||
export default i18n
|
||||
|
||||
Reference in New Issue
Block a user