2023-12-27 17:14:10 +01:00

18 lines
423 B
JavaScript

import { createI18n } from 'vue-i18n'
/*
* All i18n resources specified in the plugin `include` option can be loaded
* at once using the import syntax.
*/
import messages from '@intlify/unplugin-vue-i18n/messages'
export default createI18n({
availableLocales: ('de', 'en', 'fr', 'zh'),
fallbackLocale: 'en',
fallbackWarn: false,
legacy: false,
locale: navigator.language,
messages,
missingWarn: false
})