2023-06-13 12:08:43 -04:00
|
|
|
import { createI18n } from 'vue-i18n'
|
|
|
|
import en from '@/locales/en.json'
|
2023-07-03 17:25:07 -04:00
|
|
|
import es from '@/locales/es.json'
|
2023-07-10 15:59:56 -04:00
|
|
|
import nl from '@/locales/nl.json'
|
|
|
|
import pt from '@/locales/pt.json'
|
2023-07-16 11:35:41 -04:00
|
|
|
import fa from '@/locales/fa.json'
|
2023-07-18 20:35:17 -04:00
|
|
|
import he from '@/locales/he.json'
|
2023-06-13 12:08:43 -04:00
|
|
|
|
|
|
|
export default createI18n({
|
|
|
|
legacy: false,
|
2023-07-03 19:06:28 -04:00
|
|
|
locale: import.meta.env.VUE_APP_I18N_LOCALE || 'en-US',
|
|
|
|
fallbackLocale: import.meta.env.VUE_APP_I18N_FALLBACK_LOCALE || 'en-US',
|
2023-06-13 12:08:43 -04:00
|
|
|
globalInjection: true,
|
|
|
|
messages: {
|
2023-07-03 19:06:28 -04:00
|
|
|
'en-US': en,
|
2023-07-10 15:59:56 -04:00
|
|
|
'es-ES': es,
|
|
|
|
'nl-NL': nl,
|
|
|
|
'pt-PT': pt,
|
2023-07-16 11:35:41 -04:00
|
|
|
'fa-IR': fa,
|
2023-07-19 20:24:46 -04:00
|
|
|
'he-IL': he,
|
2023-06-13 12:08:43 -04:00
|
|
|
}
|
|
|
|
})
|