owntone-server/web-src/src/i18n.js
LordMyschkin 4f848948e7
[web] German translation
German translation

Co-authored-by: lordmyschkin <martin@dieroths.at>
2023-01-21 16:50:06 +01:00

19 lines
443 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,
availableLocales: ('de','en','fr'),
locale: navigator.language,
fallbackLocale: 'en',
fallbackWarn: false,
missingWarn: false,
messages
})