mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-13 21:12:56 -04:00
18 lines
405 B
JavaScript
18 lines
405 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/vite-plugin-vue-i18n/messages'
|
|
|
|
export default createI18n({
|
|
legacy: false,
|
|
globalInjection: true,
|
|
locale: navigator.language,
|
|
fallbackLocale: 'en',
|
|
fallbackWarn: false,
|
|
missingWarn: false,
|
|
messages
|
|
})
|