owntone-server/web-src/src/i18n.js

19 lines
443 B
JavaScript
Raw Normal View History

2022-05-20 07:45:11 -04:00
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/vite-plugin-vue-i18n/messages'
export default createI18n({
legacy: false,
globalInjection: true,
availableLocales: ('de','en','fr'),
locale: navigator.language,
2022-05-20 07:45:11 -04:00
fallbackLocale: 'en',
fallbackWarn: false,
missingWarn: false,
2022-05-20 07:45:11 -04:00
messages
})