cartodb-4.42/lib/assets/javascripts/new-dashboard/i18n/index.js

20 lines
349 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
import Vue from 'vue';
import VueI18n from 'vue-i18n';
import './backbone-i18n';
// Locales
import en from 'new-dashboard/i18n/locales/en';
2024-04-07 01:11:59 +08:00
import cn from 'new-dashboard/i18n/locales/zh-cn';
2024-04-06 13:25:13 +08:00
Vue.use(VueI18n);
// Create VueI18n instance with options
const i18n = new VueI18n({
locale: 'zh-cn',
2024-04-06 13:25:13 +08:00
messages: {
2024-04-06 22:58:39 +08:00
cn
2024-04-06 13:25:13 +08:00
}
});
export default i18n;