localization update

This commit is contained in:
Masterain
2023-03-21 19:38:44 -07:00
parent d067479959
commit d318f2cd6c
2 changed files with 7 additions and 5 deletions

View File

@@ -58,11 +58,13 @@ export default defineUserConfig({
id: "G-F3LFJCE3RM"
}),
redirectPlugin({
defaultLocale: "/en/",
defaultBehavior: "defaultLocale",
autoLocale: true,
localeConfig: {
"/en/": ["en-US", "en-UK", "en"],
"/zh/": ["zh-CN", "zh-TW", "zh"],
},
}
}),
],