antares/src/renderer/i18n/index.js

19 lines
550 B
JavaScript
Raw Normal View History

2022-04-21 14:39:24 +02:00
import { createI18n } from 'vue-i18n/dist/vue-i18n.esm-bundler.js';// NOTES: temporary fix to compile error
2020-09-17 18:15:48 +02:00
2022-04-21 14:39:24 +02:00
const i18n = locale => createI18n({
locale,
2020-09-17 18:15:48 +02:00
messages: {
'en-US': require('./en-US'),
'it-IT': require('./it-IT'),
'ar-SA': require('./ar-SA'),
2021-02-16 20:35:19 +01:00
'es-ES': require('./es-ES'),
2021-04-25 08:53:21 +02:00
'fr-FR': require('./fr-FR'),
2021-06-04 09:37:02 +02:00
'pt-BR': require('./pt-BR'),
2021-10-04 13:30:44 +02:00
'de-DE': require('./de-DE'),
'vi-VN': require('./vi-VN'),
'ja-JP': require('./ja-JP'),
'zh-CN': require('./zh-CN')
2020-09-17 18:15:48 +02:00
}
});
export default i18n;