2022-05-20 13:45:11 +02:00
|
|
|
import { createI18n } from 'vue-i18n'
|
|
|
|
|
|
|
|
/*
|
|
|
|
* All i18n resources specified in the plugin `include` option can be loaded
|
|
|
|
* at once using the import syntax.
|
|
|
|
*/
|
2023-07-02 18:38:31 +02:00
|
|
|
import messages from '@intlify/unplugin-vue-i18n/messages'
|
2022-05-20 13:45:11 +02:00
|
|
|
|
|
|
|
export default createI18n({
|
2023-07-07 11:00:08 +02:00
|
|
|
availableLocales: ('de', 'en', 'fr', 'zh'),
|
2022-05-20 13:45:11 +02:00
|
|
|
fallbackLocale: 'en',
|
2022-06-05 19:19:00 +02:00
|
|
|
fallbackWarn: false,
|
2023-07-02 20:21:39 +02:00
|
|
|
legacy: false,
|
|
|
|
locale: navigator.language,
|
|
|
|
messages,
|
|
|
|
missingWarn: false
|
2022-05-20 13:45:11 +02:00
|
|
|
})
|