Skip to content

【国际化】没有用umi/max,如何配置国际化呢? #12413

Answered by fz6m
DeronEndless asked this question in Q&A
Discussion options

You must be logged in to vote

可以单独使用 locale 国际化插件:

  pnpm add -D @umijs/plugins
// .umirc.ts

export default {
  plugins: ['@umijs/plugins/dist/locale'],
  locale: {}
}

使用说明详见:https://umijs.org/docs/max/i18n

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DeronEndless
Comment options

Answer selected by DeronEndless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants