-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e1968d
commit b78e573
Showing
4 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import en from "./locales/en.json"; | ||
import zh from "./locales/zh.json"; | ||
import en_us from "./locales/en_us.json"; | ||
import zh_cn from "./locales/zh_cn.json"; | ||
|
||
import { createI18n } from "vue-i18n"; | ||
|
||
const i18n = createI18n({ | ||
legacy: false, | ||
locale: "en", | ||
fallbackLocale: "en", | ||
locale: "en_us", | ||
fallbackLocale: "en_us", | ||
messages: { | ||
en, | ||
zh, | ||
en_us, | ||
zh_cn, | ||
}, | ||
}); | ||
}); | ||
|
||
export default i18n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.