mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
add load strings for i18n from database
This commit is contained in:
7
resources/js/i18n/index.js
vendored
7
resources/js/i18n/index.js
vendored
@@ -8,10 +8,9 @@ import cn from './lang/cn.json'
|
||||
Vue.use(VueI18n);
|
||||
|
||||
const i18n = new VueI18n({
|
||||
locale: config.locale,
|
||||
messages: Object.assign({
|
||||
en
|
||||
}),
|
||||
locale: config.language,
|
||||
silentTranslationWarn: true,
|
||||
});
|
||||
|
||||
|
||||
export default i18n;
|
||||
|
||||
Reference in New Issue
Block a user